Commit Graph

657 Commits (0c9be604c237cee34e1005d1708d421bfd33fe4c)

Author SHA1 Message Date
Robert Svensson 55d3de3411
Add binary sensor for smoke alarm test state (#64873) 2022-01-25 17:46:31 +01:00
Robert Svensson 425911e850
Use whole config entry in deCONZ diagnostics (#64795) 2022-01-23 23:14:02 +01:00
Robert Svensson 01fbc4257b
Redact possibly sensitive information in deCONZ diagnostics data (#64754) 2022-01-23 11:24:46 +01:00
Robert Svensson 84b483673e
Remove system info from deCONZ diagnostics (#64704) 2022-01-23 07:43:07 +01:00
GitHub Action 9098c71cd4 [ci skip] Translation update 2022-01-22 00:13:08 +00:00
GitHub Action fc6d6594ab [ci skip] Translation update 2022-01-21 00:13:34 +00:00
Robert Svensson 11de453848
Add diagnostics to deCONZ integration (#64585) 2022-01-20 14:47:42 -08:00
Robert Svensson 3258f66097
Expose deCONZ configuration url from discovered entry (#64519) 2022-01-20 13:46:22 +01:00
GitHub Action e9e9852e05 [ci skip] Translation update 2022-01-20 00:15:19 +00:00
GitHub Action 04a2227f4b [ci skip] Translation update 2022-01-19 00:13:35 +00:00
GitHub Action 8e14f2037c [ci skip] Translation update 2022-01-18 00:15:38 +00:00
Robert Svensson deed5f327c
Add low battery binary sensor to deCONZ integration (#64168)
* Make tamper sensor a property sensor

* Add low battery binary sensor as a binary property sensor

* Change according to review comment

* Use value_fn lambda

* Fix comparison

* Specific entity_description typing

* Minimize the code block affected by catching AttributeError

* Update homeassistant/components/deconz/binary_sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Update homeassistant/components/deconz/binary_sensor.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Avoid try statement

* Reflect review changes in sensor platform as well

* Store known sensor entities once per device

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-17 22:35:20 +01:00
Robert Svensson 7e40707288
Add Air Quality PPB sensor to deCONZ integration (#64164)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-17 20:25:55 +01:00
GitHub Action c6d481ca01 [ci skip] Translation update 2022-01-17 00:14:48 +00:00
Robert Svensson 02cc75997c
Change carbon monoxide device class to CO for deCONZ integration (#64185)
* Change carbon monoxide device class from gas to co

* Add device class safety to alarm sensor
2022-01-16 10:06:09 +01:00
GitHub Action d3cd813c5e [ci skip] Translation update 2022-01-11 00:14:57 +00:00
GitHub Action 0827608302 [ci skip] Translation update 2022-01-08 00:14:39 +00:00
GitHub Action ea0b24a5f0 [ci skip] Translation update 2022-01-03 00:14:23 +00:00
GitHub Action 93758e2e6c [ci skip] Translation update 2022-01-01 00:14:34 +00:00
GitHub Action f205708e56 [ci skip] Translation update 2021-12-31 00:14:15 +00:00
GitHub Action cc92aa557a [ci skip] Translation update 2021-12-26 00:15:41 +00:00
GitHub Action 87d4420a72 [ci skip] Translation update 2021-12-23 00:14:21 +00:00
schmyd f135d77a27
Fix deconz light service parameter handling (#62128)
* Only check presence of values, not their content

* Add tests

* Revert "Only check presence of values, not their content"

This reverts commit 046f0ed5fd.

* Validate existence of keys, not their values

* Properly handle cases of missing keys
2021-12-22 09:29:54 +01:00
GitHub Action cceedf766a [ci skip] Translation update 2021-12-22 00:14:51 +00:00
Michael b68a2747f3
Use relative imports [A-H] (#61574) 2021-12-13 20:03:01 +01:00
GitHub Action f75b325ab2 [ci skip] Translation update 2021-12-12 00:14:30 +00:00
epenet fa38a2d0bf
Use new enums in deconz (#61343)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-09 13:23:01 +01:00
GitHub Action 5258c5fc9c [ci skip] Translation update 2021-12-07 00:51:52 +00:00
epenet b6dc89b4b7
Add max/min/step to NumberEntityDescription (#61100)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-06 09:56:46 -08:00
GitHub Action fa5f524fdb [ci skip] Translation update 2021-12-05 00:14:27 +00:00
GitHub Action 68ca0a05c8 [ci skip] Translation update 2021-12-04 00:13:16 +00:00
Marc Mueller f57d42a9e8
Use platform enum (1) [A-D] (#60908)
* Use platform enum (1) [A-D]

* Fix imports

* Fix tests

* Use Platform even in tests
2021-12-03 08:51:30 -08:00
epenet 358922db56
Use dataclass for HassioServiceInfo (#60824)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-03 14:05:56 +01:00
GitHub Action de792e3af2 [ci skip] Translation update 2021-12-02 00:13:02 +00:00
epenet 4411d51d6f
Use dataclass properties in deconz discovery (#60690)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 19:38:20 +01:00
Robert Svensson 8ddfa424c0
Add typing to deCONZ init and config flow (#59999) 2021-12-01 18:59:52 +01:00
GitHub Action 2918e2d7d0 [ci skip] Translation update 2021-11-29 00:13:08 +00:00
GitHub Action 3af54d96c7 [ci skip] Translation update 2021-11-28 00:14:19 +00:00
GitHub Action 78b47019f9 [ci skip] Translation update 2021-11-26 00:12:49 +00:00
GitHub Action d3c020325b [ci skip] Translation update 2021-11-25 00:13:33 +00:00
Ville Skyttä 39691faccc
Use DeviceEntryType in non-typechecked code too (#58646) 2021-11-23 10:04:33 +01:00
GitHub Action 72b0eb719e [ci skip] Translation update 2021-11-20 00:12:27 +00:00
Robert Svensson 6f091d235f
Fix late comment correcting kwargs should always be Any in deCONZ covers (#59997)
* Fix late comments correcting kwargs should always be Any
2021-11-19 21:16:21 +01:00
GitHub Action 29dc9de08f [ci skip] Translation update 2021-11-19 00:14:01 +00:00
Robert Svensson 569d596799
Add typing to deCONZ Lock and Logbook platforms (#59605) 2021-11-17 15:22:59 +01:00
Robert Svensson 0339761e72
Add typing to deCONZ Number and Sensor platforms (#59604) 2021-11-17 15:11:51 +01:00
Robert Svensson 29e0ef604e
Add typing to deCONZ Climate and Cover platforms (#59610) 2021-11-17 15:08:37 +01:00
Kilian Lackhove a4826f4b69
Fix deCONZ climate offset display if offset is zero (#59803) 2021-11-17 07:29:37 +01:00
Robert Svensson 4642a70651
Add typing to deCONZ Alarm Control Panel and Binary Sensor platforms (#59611)
* Add typing to deCONZ Alarm Control Panel and Binary Sensor platforms

* Address review comments

* Don't use asserts, use # type: ignore[no-any-return]

* Improve lazy typing of dict
2021-11-16 20:01:10 +01:00
Robert Svensson c7c1d6000f
Add type hints to Siren and Switch deCONZ platforms (#59602)
* Add typing to Siren and Switch deCONZ platforms

* Update homeassistant/components/deconz/switch.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Update homeassistant/components/deconz/switch.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Update homeassistant/components/deconz/switch.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Update homeassistant/components/deconz/siren.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Update homeassistant/components/deconz/siren.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

* Add Any import

* Update homeassistant/components/deconz/siren.py

Co-authored-by: Matthias Alphart <farmio@alphart.net>

Co-authored-by: Matthias Alphart <farmio@alphart.net>
2021-11-16 17:25:56 +01:00