pyg90alarm 1.13.0__py3-none-any.whl → 1.15.0__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 +31 -4
- pyg90alarm/alarm.py +194 -166
- pyg90alarm/base_cmd.py +60 -52
- pyg90alarm/callback.py +41 -51
- pyg90alarm/config.py +10 -6
- pyg90alarm/const.py +9 -2
- pyg90alarm/definitions/sensors.py +12 -11
- pyg90alarm/device_notifications.py +65 -41
- pyg90alarm/discovery.py +31 -22
- pyg90alarm/entities/device.py +6 -7
- pyg90alarm/entities/sensor.py +180 -126
- pyg90alarm/history.py +43 -47
- pyg90alarm/host_info.py +27 -25
- pyg90alarm/host_status.py +25 -12
- pyg90alarm/paginated_cmd.py +46 -33
- pyg90alarm/paginated_result.py +13 -7
- pyg90alarm/py.typed +0 -0
- pyg90alarm/targeted_discovery.py +98 -39
- pyg90alarm/user_data_crc.py +18 -13
- {pyg90alarm-1.13.0.dist-info → pyg90alarm-1.15.0.dist-info}/METADATA +4 -3
- pyg90alarm-1.15.0.dist-info/RECORD +27 -0
- {pyg90alarm-1.13.0.dist-info → pyg90alarm-1.15.0.dist-info}/WHEEL +1 -1
- pyg90alarm-1.13.0.dist-info/RECORD +0 -26
- {pyg90alarm-1.13.0.dist-info → pyg90alarm-1.15.0.dist-info}/LICENSE +0 -0
- {pyg90alarm-1.13.0.dist-info → pyg90alarm-1.15.0.dist-info}/top_level.txt +0 -0
pyg90alarm/__init__.py
CHANGED
|
@@ -22,9 +22,36 @@
|
|
|
22
22
|
Python package to control G90-based alarm systems.
|
|
23
23
|
"""
|
|
24
24
|
|
|
25
|
-
from .alarm import G90Alarm
|
|
26
|
-
from .base_cmd import G90BaseCommand
|
|
27
|
-
from .paginated_result import G90PaginatedResult
|
|
28
|
-
from .device_notifications import (
|
|
25
|
+
from .alarm import G90Alarm
|
|
26
|
+
from .base_cmd import G90BaseCommand
|
|
27
|
+
from .paginated_result import G90PaginatedResult
|
|
28
|
+
from .device_notifications import (
|
|
29
29
|
G90DeviceAlert,
|
|
30
30
|
)
|
|
31
|
+
from .entities.sensor import G90Sensor, G90SensorTypes
|
|
32
|
+
from .entities.device import G90Device
|
|
33
|
+
from .host_info import (
|
|
34
|
+
G90HostInfo, G90HostInfoWifiStatus, G90HostInfoGsmStatus
|
|
35
|
+
)
|
|
36
|
+
from .host_status import G90HostStatus
|
|
37
|
+
from .const import (
|
|
38
|
+
G90MessageTypes,
|
|
39
|
+
G90NotificationTypes,
|
|
40
|
+
G90ArmDisarmTypes,
|
|
41
|
+
G90AlertTypes,
|
|
42
|
+
G90AlertSources,
|
|
43
|
+
G90AlertStates,
|
|
44
|
+
G90AlertStateChangeTypes,
|
|
45
|
+
G90HistoryStates,
|
|
46
|
+
)
|
|
47
|
+
from .exceptions import G90Error, G90TimeoutError
|
|
48
|
+
|
|
49
|
+
__all__ = [
|
|
50
|
+
'G90Alarm', 'G90BaseCommand', 'G90PaginatedResult', 'G90DeviceAlert',
|
|
51
|
+
'G90Sensor', 'G90SensorTypes', 'G90Device', 'G90HostInfo',
|
|
52
|
+
'G90HostInfoWifiStatus', 'G90HostInfoGsmStatus', 'G90HostStatus',
|
|
53
|
+
'G90MessageTypes', 'G90NotificationTypes', 'G90ArmDisarmTypes',
|
|
54
|
+
'G90AlertTypes', 'G90AlertSources', 'G90AlertStates',
|
|
55
|
+
'G90AlertStateChangeTypes', 'G90HistoryStates', 'G90Error',
|
|
56
|
+
'G90TimeoutError',
|
|
57
|
+
]
|