python-selve-new 2.0.36__tar.gz → 2.0.38__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/PKG-INFO +1 -1
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/python_selve_new.egg-info/PKG-INFO +1 -1
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/__init__.py +1 -1
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/util/__init__.py +8 -8
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/setup.py +1 -1
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/LICENSE +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/README.md +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/python_selve_new.egg-info/SOURCES.txt +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/python_selve_new.egg-info/dependency_links.txt +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/python_selve_new.egg-info/requires.txt +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/python_selve_new.egg-info/top_level.txt +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/commands/__init__.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/commands/command.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/commands/device.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/commands/event.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/commands/group.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/commands/iveo.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/commands/param.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/commands/senSim.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/commands/sender.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/commands/sensor.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/commands/service.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/device.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/gateway.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/group.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/iveo.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/senSim.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/sender.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/sensor.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/util/errors.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/selve/util/protocol.py +0 -0
- {python-selve-new-2.0.36 → python-selve-new-2.0.38}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-selve-new
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.38
|
|
4
4
|
Summary: Python library for interfacing with selve devices using the USB-RF controller. Written completely new.
|
|
5
5
|
Home-page: https://github.com/Kannix2005/python-selve-new
|
|
6
6
|
Author: Stefan Altheimer
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-selve-new
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.38
|
|
4
4
|
Summary: Python library for interfacing with selve devices using the USB-RF controller. Written completely new.
|
|
5
5
|
Home-page: https://github.com/Kannix2005/python-selve-new
|
|
6
6
|
Author: Stefan Altheimer
|
|
@@ -52,13 +52,13 @@ class CommeoCommandResult(MethodResponse):
|
|
|
52
52
|
class CommeoDeviceEventResponse(MethodResponse):
|
|
53
53
|
def __init__(self, name, parameters):
|
|
54
54
|
super().__init__(name, parameters)
|
|
55
|
-
|
|
56
|
-
self.id = int(parameters[
|
|
57
|
-
self.actorState = MovementState(int(parameters[
|
|
58
|
-
self.value = Util.valueToPercentage(int(parameters[
|
|
59
|
-
self.targetValue = Util.valueToPercentage(int(parameters[
|
|
55
|
+
self.name = parameters[0][1] if parameters[0][1] else ""
|
|
56
|
+
self.id = int(parameters[1][1])
|
|
57
|
+
self.actorState = MovementState(int(parameters[2][1])) if int(parameters[2][1]) and int(parameters[2][1]) < 4 else MovementState(0)
|
|
58
|
+
self.value = Util.valueToPercentage(int(parameters[3][1]))
|
|
59
|
+
self.targetValue = Util.valueToPercentage(int(parameters[4][1]))
|
|
60
60
|
|
|
61
|
-
bArr = Util.intToBoolarray(int(parameters[
|
|
61
|
+
bArr = Util.intToBoolarray(int(parameters[5][1]))
|
|
62
62
|
self.unreachable = bArr[0]
|
|
63
63
|
self.overload = bArr[1]
|
|
64
64
|
self.obstructed = bArr[2]
|
|
@@ -69,8 +69,8 @@ class CommeoDeviceEventResponse(MethodResponse):
|
|
|
69
69
|
self.windAlarm = bArr[7]
|
|
70
70
|
self.rainAlarm = bArr[8]
|
|
71
71
|
self.freezingAlarm = bArr[9]
|
|
72
|
-
self.dayMode = DayMode(int(parameters[
|
|
73
|
-
self.deviceType = DeviceType(int(parameters[
|
|
72
|
+
self.dayMode = DayMode(int(parameters[6][1]))
|
|
73
|
+
self.deviceType = DeviceType(int(parameters[7][1]))
|
|
74
74
|
|
|
75
75
|
class LogEventResponse(MethodResponse):
|
|
76
76
|
def __init__(self, name, parameters):
|
|
@@ -15,7 +15,7 @@ with open(path.join(here, 'README.md'), encoding='utf-8') as f:
|
|
|
15
15
|
setup(
|
|
16
16
|
|
|
17
17
|
name='python-selve-new', # Required
|
|
18
|
-
version='2.0.
|
|
18
|
+
version='2.0.38', # Required
|
|
19
19
|
description='Python library for interfacing with selve devices using the USB-RF controller. Written completely new.', # Required
|
|
20
20
|
long_description=long_description, # Optional
|
|
21
21
|
long_description_content_type="text/markdown",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python-selve-new-2.0.36 → python-selve-new-2.0.38}/python_selve_new.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|