pyg90alarm 2.4.0__py3-none-any.whl → 2.4.2__py3-none-any.whl
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.
- pyg90alarm/__init__.py +15 -1
- pyg90alarm/entities/sensor.py +2 -2
- pyg90alarm/local/paginated_result.py +5 -3
- {pyg90alarm-2.4.0.dist-info → pyg90alarm-2.4.2.dist-info}/METADATA +1 -1
- {pyg90alarm-2.4.0.dist-info → pyg90alarm-2.4.2.dist-info}/RECORD +8 -8
- {pyg90alarm-2.4.0.dist-info → pyg90alarm-2.4.2.dist-info}/WHEEL +0 -0
- {pyg90alarm-2.4.0.dist-info → pyg90alarm-2.4.2.dist-info}/licenses/LICENSE +0 -0
- {pyg90alarm-2.4.0.dist-info → pyg90alarm-2.4.2.dist-info}/top_level.txt +0 -0
pyg90alarm/__init__.py
CHANGED
|
@@ -46,6 +46,12 @@ from .definitions.base import (
|
|
|
46
46
|
)
|
|
47
47
|
from .local.alert_config import G90AlertConfigFlags
|
|
48
48
|
from .local.host_status import G90HostStatus
|
|
49
|
+
from .local.host_config import (
|
|
50
|
+
G90HostConfig, G90VolumeLevel, G90SpeechLanguage
|
|
51
|
+
)
|
|
52
|
+
from .local.alarm_phones import G90AlarmPhones
|
|
53
|
+
from .local.net_config import G90NetConfig, G90APNAuth
|
|
54
|
+
from .local.history import G90History
|
|
49
55
|
from .const import (
|
|
50
56
|
G90MessageTypes,
|
|
51
57
|
G90NotificationTypes,
|
|
@@ -80,5 +86,13 @@ __all__ = [
|
|
|
80
86
|
'G90TimeoutError', 'G90CommandError', 'G90CommandFailure',
|
|
81
87
|
'G90EntityRegistrationError', 'G90PeripheralDefinitionNotFound',
|
|
82
88
|
# Definitions
|
|
83
|
-
'G90SensorDefinitions', 'G90DeviceDefinitions'
|
|
89
|
+
'G90SensorDefinitions', 'G90DeviceDefinitions',
|
|
90
|
+
# Host Configuration
|
|
91
|
+
'G90HostConfig', 'G90VolumeLevel', 'G90SpeechLanguage',
|
|
92
|
+
# Network Configuration
|
|
93
|
+
'G90NetConfig', 'G90APNAuth',
|
|
94
|
+
# Alarm Phones
|
|
95
|
+
'G90AlarmPhones',
|
|
96
|
+
# History
|
|
97
|
+
'G90History',
|
|
84
98
|
]
|
pyg90alarm/entities/sensor.py
CHANGED
|
@@ -460,7 +460,7 @@ class G90Sensor(G90BaseEntity): # pylint:disable=too-many-instance-attributes
|
|
|
460
460
|
:return: Support for updates
|
|
461
461
|
"""
|
|
462
462
|
if not self.definition:
|
|
463
|
-
_LOGGER.
|
|
463
|
+
_LOGGER.debug(
|
|
464
464
|
'Manipulating with user flags for sensor index=%s'
|
|
465
465
|
' is unsupported - no sensor definition for'
|
|
466
466
|
' type=%s, subtype=%s, protocol=%s',
|
|
@@ -595,7 +595,7 @@ class G90Sensor(G90BaseEntity): # pylint:disable=too-many-instance-attributes
|
|
|
595
595
|
return
|
|
596
596
|
|
|
597
597
|
if value & ~G90SensorUserFlags.USER_SETTABLE:
|
|
598
|
-
_LOGGER.
|
|
598
|
+
_LOGGER.debug(
|
|
599
599
|
'User flags for sensor index=%s contain non-user settable'
|
|
600
600
|
' flags, those will be ignored: %s',
|
|
601
601
|
self.index, repr(value & ~G90SensorUserFlags.USER_SETTABLE)
|
|
@@ -95,9 +95,11 @@ class G90PaginatedResult:
|
|
|
95
95
|
# The supplied end record number is higher than total records
|
|
96
96
|
# available, reset to the latter
|
|
97
97
|
if self._end > cmd.total:
|
|
98
|
-
_LOGGER.
|
|
99
|
-
|
|
100
|
-
|
|
98
|
+
_LOGGER.debug(
|
|
99
|
+
'Requested record range (%i) exceeds number of available'
|
|
100
|
+
' records (%i), setting to the latter',
|
|
101
|
+
self._end, cmd.total
|
|
102
|
+
)
|
|
101
103
|
self._end = cmd.total
|
|
102
104
|
|
|
103
105
|
_LOGGER.debug('Retrieved %i records in the iteration,'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
pyg90alarm/__init__.py,sha256=
|
|
1
|
+
pyg90alarm/__init__.py,sha256=hZXvjpbWNO0ae88_B2qR4XDG6JXjPx5EZK8T2qxMcMM,3473
|
|
2
2
|
pyg90alarm/alarm.py,sha256=BDBVQ8qRa2Bx2-786uytShTw8znlFEWakxweCGvgxME,50130
|
|
3
3
|
pyg90alarm/callback.py,sha256=9PVtjRs2MLn80AgiM-UJNL8ZJF4_PxcopJIpxMmB3vc,4707
|
|
4
4
|
pyg90alarm/const.py,sha256=XBmtojOV0OrjqwL7x_wixqnt4Vcs9xOGlz-wHY4uO_Q,7948
|
|
@@ -19,7 +19,7 @@ pyg90alarm/entities/base_entity.py,sha256=hNhhuuwNuir54uVMZzPbjE0N6WL8wKvoW_KZa4
|
|
|
19
19
|
pyg90alarm/entities/base_list.py,sha256=vNP0T8qg7lgrES0IBs4zOggQM6Uxyfarfds46bbAnH0,9482
|
|
20
20
|
pyg90alarm/entities/device.py,sha256=eWE_N83hiDs5I-TT5F_W0Vb8sVugLldrDc9Lj9sgVLo,3700
|
|
21
21
|
pyg90alarm/entities/device_list.py,sha256=PKnHEazeT3iUEaz70bW1OaWh0wq-7WOY-7dpV4FVCTc,5984
|
|
22
|
-
pyg90alarm/entities/sensor.py,sha256=
|
|
22
|
+
pyg90alarm/entities/sensor.py,sha256=pq4tARSKQC_AJlT_ZaBcqTDtaXKuyo5nz6BqmHohSQk,27649
|
|
23
23
|
pyg90alarm/entities/sensor_list.py,sha256=0S88bhTn91O45WgbIIMQ0iXaNjlUWmMBOOFwj2Hg73U,6993
|
|
24
24
|
pyg90alarm/local/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
25
|
pyg90alarm/local/alarm_phones.py,sha256=OKH7t8jBziHOSJth1bnYKYVKFiX1o83JzA-6ijCYBDc,3149
|
|
@@ -35,14 +35,14 @@ pyg90alarm/local/host_status.py,sha256=WHGtw-A0wHILqVWP4DnZhXj8DPRGyS26AV0bL1isT
|
|
|
35
35
|
pyg90alarm/local/net_config.py,sha256=wjJMzL6tcHAfYF-OtregRpCoNEviOlkHHr5SpDaTmNs,4157
|
|
36
36
|
pyg90alarm/local/notifications.py,sha256=Vs6NQJciYqDALV-WwzH6wIcTGdX_UD4XBuHWjSOpCDY,4591
|
|
37
37
|
pyg90alarm/local/paginated_cmd.py,sha256=5pPVP8f4ydjgu8Yq6MwqINJAUt52fFlD17wO4AI88Pc,4467
|
|
38
|
-
pyg90alarm/local/paginated_result.py,sha256=
|
|
38
|
+
pyg90alarm/local/paginated_result.py,sha256=p_e8QAVznp1Q5Xi9ifjb9Bx-S3ZiAkVlPKrY6r0bYLs,5483
|
|
39
39
|
pyg90alarm/local/targeted_discovery.py,sha256=Ik2C2VBtVLurf3-RKko4O2R3B6MrmFdOskd457uyASU,5516
|
|
40
40
|
pyg90alarm/local/user_data_crc.py,sha256=JQBOPY3RlOgVtvR55R-rM8OuKjYW-BPXQ0W4pi6CEH0,1689
|
|
41
41
|
pyg90alarm/notifications/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
42
42
|
pyg90alarm/notifications/base.py,sha256=d3N_zNPa_jcTX4QpA78jdgMHDhmrgwqyM3HdvuO14Jk,16682
|
|
43
43
|
pyg90alarm/notifications/protocol.py,sha256=TlZQ3P8-N-E2X5bzkGefz432x4lBYyIBF9VriwYn9ds,4790
|
|
44
|
-
pyg90alarm-2.4.
|
|
45
|
-
pyg90alarm-2.4.
|
|
46
|
-
pyg90alarm-2.4.
|
|
47
|
-
pyg90alarm-2.4.
|
|
48
|
-
pyg90alarm-2.4.
|
|
44
|
+
pyg90alarm-2.4.2.dist-info/licenses/LICENSE,sha256=f884inRbeNv-O-hbwz62Ro_1J8xiHRTnJ2cCx6A0WvU,1070
|
|
45
|
+
pyg90alarm-2.4.2.dist-info/METADATA,sha256=vS1FIyQ1EwK8fbEBs2EsamOz93YLtwJUwmxoslRD5Ak,12568
|
|
46
|
+
pyg90alarm-2.4.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
47
|
+
pyg90alarm-2.4.2.dist-info/top_level.txt,sha256=czHiGxYMyTk5QEDTDb0EpPiKqUMRa8zI4zx58Ii409M,11
|
|
48
|
+
pyg90alarm-2.4.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|