pyg90alarm 1.15.0__tar.gz → 1.15.1__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.
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/PKG-INFO +1 -1
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/alarm.py +11 -8
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm.egg-info/PKG-INFO +1 -1
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/.github/CODEOWNERS +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/.github/workflows/main.yml +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/.gitignore +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/.pylintrc +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/.readthedocs.yaml +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/LICENSE +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/MANIFEST.in +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/README.rst +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/docs/.DS_Store +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/docs/.gitignore +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/docs/api-docs.rst +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/docs/conf.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/docs/index.rst +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/docs/protocol.rst +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/docs/requirements.txt +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/pyproject.toml +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/setup.cfg +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/setup.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/sonar-project.properties +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/__init__.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/base_cmd.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/callback.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/config.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/const.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/definitions/__init__.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/definitions/sensors.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/device_notifications.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/discovery.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/entities/__init__.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/entities/device.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/entities/sensor.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/exceptions.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/history.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/host_info.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/host_status.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/paginated_cmd.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/paginated_result.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/py.typed +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/targeted_discovery.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm/user_data_crc.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm.egg-info/SOURCES.txt +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm.egg-info/dependency_links.txt +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm.egg-info/requires.txt +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/src/pyg90alarm.egg-info/top_level.txt +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/tests/__init__.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/tests/conftest.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/tests/device_mock.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/tests/test_alarm.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/tests/test_base_commands.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/tests/test_discovery.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/tests/test_notifications.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/tests/test_paginated_commands.py +0 -0
- {pyg90alarm-1.15.0 → pyg90alarm-1.15.1}/tox.ini +0 -0
|
@@ -100,22 +100,25 @@ if TYPE_CHECKING:
|
|
|
100
100
|
Callable[[int, str, bool], None],
|
|
101
101
|
Callable[[int, str, bool], Coroutine[None, None, None]]
|
|
102
102
|
]
|
|
103
|
-
SensorStateCallback = Union[
|
|
104
|
-
Callable[[bool], None],
|
|
105
|
-
Callable[[bool], Coroutine[None, None, None]]
|
|
106
|
-
]
|
|
107
103
|
LowBatteryCallback = Union[
|
|
108
104
|
Callable[[int, str], None],
|
|
109
105
|
Callable[[int, str], Coroutine[None, None, None]]
|
|
110
106
|
]
|
|
111
|
-
SensorLowBatteryCallback = Union[
|
|
112
|
-
Callable[[bool], None],
|
|
113
|
-
Callable[[bool], Coroutine[None, None, None]]
|
|
114
|
-
]
|
|
115
107
|
ArmDisarmCallback = Union[
|
|
116
108
|
Callable[[G90ArmDisarmTypes], None],
|
|
117
109
|
Callable[[G90ArmDisarmTypes], Coroutine[None, None, None]]
|
|
118
110
|
]
|
|
111
|
+
# Sensor-related callbacks for `G90Sensor` class - despite that class
|
|
112
|
+
# stores them, the invication is done by the `G90Alarm` class hence these
|
|
113
|
+
# are defined here
|
|
114
|
+
SensorStateCallback = Union[
|
|
115
|
+
Callable[[bool], None],
|
|
116
|
+
Callable[[bool], Coroutine[None, None, None]]
|
|
117
|
+
]
|
|
118
|
+
SensorLowBatteryCallback = Union[
|
|
119
|
+
Callable[[], None],
|
|
120
|
+
Callable[[], Coroutine[None, None, None]]
|
|
121
|
+
]
|
|
119
122
|
|
|
120
123
|
|
|
121
124
|
# pylint: disable=too-many-public-methods
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|