pyg90alarm 2.4.0__tar.gz → 2.4.2__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.
Files changed (88) hide show
  1. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/PKG-INFO +1 -1
  2. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/__init__.py +15 -1
  3. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/entities/sensor.py +2 -2
  4. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/paginated_result.py +5 -3
  5. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm.egg-info/PKG-INFO +1 -1
  6. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/.github/CODEOWNERS +0 -0
  7. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/.github/dependabot.yml +0 -0
  8. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/.github/workflows/main.yml +0 -0
  9. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/.gitignore +0 -0
  10. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/.pylintrc +0 -0
  11. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/.readthedocs.yaml +0 -0
  12. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/LICENSE +0 -0
  13. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/MANIFEST.in +0 -0
  14. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/README.rst +0 -0
  15. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/docs/.DS_Store +0 -0
  16. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/docs/.gitignore +0 -0
  17. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/docs/api-docs.rst +0 -0
  18. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/docs/cloud-protocol.rst +0 -0
  19. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/docs/conf.py +0 -0
  20. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/docs/index.rst +0 -0
  21. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/docs/local-protocol.rst +0 -0
  22. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/docs/requirements.txt +0 -0
  23. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/pyproject.toml +0 -0
  24. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/setup.cfg +0 -0
  25. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/setup.py +0 -0
  26. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/sonar-project.properties +0 -0
  27. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/alarm.py +0 -0
  28. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/callback.py +0 -0
  29. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/cloud/__init__.py +0 -0
  30. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/cloud/const.py +0 -0
  31. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/cloud/messages.py +0 -0
  32. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/cloud/notifications.py +0 -0
  33. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/cloud/protocol.py +0 -0
  34. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/const.py +0 -0
  35. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/definitions/__init__.py +0 -0
  36. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/definitions/base.py +0 -0
  37. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/definitions/devices.py +0 -0
  38. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/definitions/sensors.py +0 -0
  39. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/entities/__init__.py +0 -0
  40. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/entities/base_entity.py +0 -0
  41. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/entities/base_list.py +0 -0
  42. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/entities/device.py +0 -0
  43. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/entities/device_list.py +0 -0
  44. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/entities/sensor_list.py +0 -0
  45. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/event_mapping.py +0 -0
  46. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/exceptions.py +0 -0
  47. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/__init__.py +0 -0
  48. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/alarm_phones.py +0 -0
  49. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/alert_config.py +0 -0
  50. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/base_cmd.py +0 -0
  51. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/config.py +0 -0
  52. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/dataclass_load_save.py +0 -0
  53. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/discovery.py +0 -0
  54. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/history.py +0 -0
  55. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/host_config.py +0 -0
  56. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/host_info.py +0 -0
  57. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/host_status.py +0 -0
  58. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/net_config.py +0 -0
  59. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/notifications.py +0 -0
  60. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/paginated_cmd.py +0 -0
  61. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/targeted_discovery.py +0 -0
  62. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/local/user_data_crc.py +0 -0
  63. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/notifications/__init__.py +0 -0
  64. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/notifications/base.py +0 -0
  65. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/notifications/protocol.py +0 -0
  66. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm/py.typed +0 -0
  67. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm.egg-info/SOURCES.txt +0 -0
  68. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm.egg-info/dependency_links.txt +0 -0
  69. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm.egg-info/requires.txt +0 -0
  70. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/src/pyg90alarm.egg-info/top_level.txt +0 -0
  71. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/__init__.py +0 -0
  72. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/conftest.py +0 -0
  73. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/device_mock.py +0 -0
  74. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/test_alarm.py +0 -0
  75. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/test_alarm_phones.py +0 -0
  76. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/test_base_commands.py +0 -0
  77. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/test_cloud_notifications.py +0 -0
  78. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/test_config.py +0 -0
  79. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/test_devices.py +0 -0
  80. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/test_discovery.py +0 -0
  81. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/test_history.py +0 -0
  82. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/test_host_config.py +0 -0
  83. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/test_local_notifications.py +0 -0
  84. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/test_net_config.py +0 -0
  85. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/test_paginated_commands.py +0 -0
  86. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/test_sensor.py +0 -0
  87. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tests/unit/entities/test_base_list.py +0 -0
  88. {pyg90alarm-2.4.0 → pyg90alarm-2.4.2}/tox.ini +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyg90alarm
3
- Version: 2.4.0
3
+ Version: 2.4.2
4
4
  Summary: G90 Alarm system protocol
5
5
  Home-page: https://github.com/hostcc/pyg90alarm
6
6
  Author: Ilia Sotnikov
@@ -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
  ]
@@ -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.warning(
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.warning(
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.warning('Requested record range (%i) exceeds number of'
99
- ' available records (%i), setting to the'
100
- ' latter', self._end, cmd.total)
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,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyg90alarm
3
- Version: 2.4.0
3
+ Version: 2.4.2
4
4
  Summary: G90 Alarm system protocol
5
5
  Home-page: https://github.com/hostcc/pyg90alarm
6
6
  Author: Ilia Sotnikov
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