pyg90alarm 1.15.0__py3-none-any.whl → 1.15.1__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/alarm.py CHANGED
@@ -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
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pyg90alarm
3
- Version: 1.15.0
3
+ Version: 1.15.1
4
4
  Summary: G90 Alarm system protocol
5
5
  Home-page: https://github.com/hostcc/pyg90alarm
6
6
  Author: Ilia Sotnikov
@@ -1,5 +1,5 @@
1
1
  pyg90alarm/__init__.py,sha256=5AITRm5jZSzuQaL7PS8fZZMZb4-IuGRhSqyAdfTt0Cs,2236
2
- pyg90alarm/alarm.py,sha256=jCxNzyjfnCUfJl6bSvXih-0YoNtz66EbsYhUvlElFxs,32044
2
+ pyg90alarm/alarm.py,sha256=9SqJHGK6wawFUZSaRo6-GkLBz_SxONNgCwGeD38MsSU,32211
3
3
  pyg90alarm/base_cmd.py,sha256=wu2v_RKpcPHxUW4HBDLWcUFMzPsGooY4o2Rc0LgcanU,9754
4
4
  pyg90alarm/callback.py,sha256=3JsD_JChmZD24OyjaCP-PxxuBDBX7myGYhkM4RN7bk4,3742
5
5
  pyg90alarm/config.py,sha256=2YtIgdT7clQXmYvkdn_fhIdS05CY8E1Yc90R8_tAmRI,1961
@@ -20,8 +20,8 @@ pyg90alarm/definitions/sensors.py,sha256=rKOu21ZpI44xk6aMh_vBjniFqnsNTc1CKwAvnv4
20
20
  pyg90alarm/entities/__init__.py,sha256=hHb6AOiC4Tz--rOWiiICMdLaZDs1Tf_xpWk_HeS_gO4,66
21
21
  pyg90alarm/entities/device.py,sha256=f_LHvKCAqTEebZ4mrRh3CpPUI7o-OvpvOfyTRCbftJs,2818
22
22
  pyg90alarm/entities/sensor.py,sha256=4r8ouAYTZB8ih8I4ncWdQOaifYsRxaC-ukY9jvnrRvk,16139
23
- pyg90alarm-1.15.0.dist-info/LICENSE,sha256=f884inRbeNv-O-hbwz62Ro_1J8xiHRTnJ2cCx6A0WvU,1070
24
- pyg90alarm-1.15.0.dist-info/METADATA,sha256=-NPVNpOmAXyptTOMERM1rWW81EtU0BnXMsklnSsbaqg,7663
25
- pyg90alarm-1.15.0.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
26
- pyg90alarm-1.15.0.dist-info/top_level.txt,sha256=czHiGxYMyTk5QEDTDb0EpPiKqUMRa8zI4zx58Ii409M,11
27
- pyg90alarm-1.15.0.dist-info/RECORD,,
23
+ pyg90alarm-1.15.1.dist-info/LICENSE,sha256=f884inRbeNv-O-hbwz62Ro_1J8xiHRTnJ2cCx6A0WvU,1070
24
+ pyg90alarm-1.15.1.dist-info/METADATA,sha256=csITqi1utrvJOAqm0PtFGz9UIeDZzTX7JBWJRBjjIzY,7663
25
+ pyg90alarm-1.15.1.dist-info/WHEEL,sha256=UvcQYKBHoFqaQd6LKyqHw9fxEolWLQnlzP0h_LgJAfI,91
26
+ pyg90alarm-1.15.1.dist-info/top_level.txt,sha256=czHiGxYMyTk5QEDTDb0EpPiKqUMRa8zI4zx58Ii409M,11
27
+ pyg90alarm-1.15.1.dist-info/RECORD,,