Commit Graph

810 Commits (21d96e00a244c26b4fa378e9117785566a4f07cb)

Author SHA1 Message Date
Aarni Koskela 6021cedb09
deconz: Use partition instead of split where possible (#81804)
* deconz: Use partition instead of split where possible

With a smattering of code deduplication

Split out of #81493

* Update homeassistant/components/deconz/util.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-11-08 20:54:01 +01:00
Robert Svensson 3a33d36466
Fix situation where deCONZ sensor platform setup would fail (#81629)
* Fix situation where deCONZ sensor platform setup would fail

* Don't use try
2022-11-05 21:23:36 +01:00
Robert Svensson d75834cd1e
Add presence duration number (#79498) 2022-10-23 22:30:03 +02:00
GitHub Action 0199e0a756 [ci skip] Translation update 2022-10-21 00:30:37 +00:00
Robert Svensson 60a208a860
Add integration_type to Axis, deCONZ and UniFi manifest (#80630) 2022-10-19 21:56:19 +02:00
Robert Svensson 352014fc95
Bump deconz dependency to v105 (#80492) 2022-10-18 00:02:04 +02:00
Robert Svensson 82d3397a9b
Adapt deCONZ binary sensors to entity descriptions (#79486)
Now typing with lambdas work
2022-10-10 21:18:26 +02:00
Julian Einwag 61901a1a60
Add device trigger for Lidl Silvercrest switch to deCONZ (#79839)
* add deconz support for Lidl Silvercrest switch

* Update homeassistant/components/deconz/device_trigger.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* Update homeassistant/components/deconz/device_trigger.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* clarify it's a button, remove turn on event

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-10-07 23:56:45 +02:00
GitHub Action 7eb101b0c7 [ci skip] Translation update 2022-10-04 00:37:13 +00:00
Robert Svensson c05d3c10db
Address late comment to deCONZ climate (#79485)
Fix late comment to deCONZ climate #59989
2022-10-03 11:06:13 +02:00
Robert Svensson 2ce837f588
Resolve late comments to deCONZ sensor (#79380)
Resolve late comments to deCONZ sensor #79137
2022-09-30 21:49:59 +02:00
Robert Svensson a0357767ef
Fix late comments to deCONZ sensors from #79137 (#79272)
* Fix late comments from #79137

* Fix comment
2022-09-29 09:33:31 +02:00
Robert Svensson 473d7c484d
Improve deCONZ sensor classes (#79137) 2022-09-28 21:45:15 -04:00
Michael Jäger 7a6897c757
Add deconz current hvac operation to thermostate based on "state" (#59989)
* deconz - add current hvac operation to thermostate based on "state"

* deconz - extend current hvac operation to thermostate based on "state" and "mode"

* Add tests for current hvac action

* Add boost mode as special case

* format using Black

* sort imports

* Add test for device with mode none and state none

* Update homeassistant/components/deconz/climate.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* Fix test_climate.py test_no_mode_no_state

* Add test for boost mode

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-09-21 08:20:44 +02:00
epenet ec532414ba
Import climate constants from root [a-l] (#78177) 2022-09-10 23:39:52 +02:00
epenet ff356205bf
Use platform constants from root (#78032) 2022-09-08 12:24:45 +02:00
Robert Svensson 6b361b70c9
Move up setup of service to make it more robust when running multiple instances of deCONZ (#77621) 2022-09-01 21:33:55 -04:00
Robert Svensson 61ff52c93a
Normalize deCONZ sensor unique IDs (#76357)
* Normalize deCONZ sensor unique IDs

* Handle battery sensors properly

* Fix daylight sensor unique ID
2022-08-31 08:12:25 +02:00
Robert Svensson ff3d3088ee
Add Aqara FP1 support to deCONZ integration (#77568) 2022-08-30 23:33:05 -04:00
GitHub Action 035cd16a95 [ci skip] Translation update 2022-08-30 00:30:17 +00:00
Robert Svensson 0154a1cecb
Improve deCONZ binary sensor classes (#77419) 2022-08-29 08:15:10 +02:00
Robert Svensson 2161b6f049
Fix level controllable output controls in deCONZ (#77223)
Fix level controllable output controls
2022-08-24 22:00:54 -04:00
Marc Mueller d8916c3e47
Use TriggerActionType [a-k] (#76812) 2022-08-15 20:26:49 +02:00
GitHub Action bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
GitHub Action 6e03b12a93 [ci skip] Translation update 2022-08-13 00:25:00 +00:00
GitHub Action 7c81f790a7 [ci skip] Translation update 2022-08-12 00:23:47 +00:00
GitHub Action 519d478d61 [ci skip] Translation update 2022-08-11 00:26:23 +00:00
Robert Svensson c2f026d0a7
Minor deCONZ clean up (#76323)
* Rename secondary_temperature with internal_temperature

* Prefix binary and sensor descriptions matching on all sensor devices with COMMON_

* Always create entities in the same order

Its been reported previously that if the integration is removed and setup again that entity IDs can change if not sorted in the numerical order

* Rename alarmsystems to alarm_systems

* Use websocket enums

* Don't use legacy pydeconz constants

* Bump pydeconz to v103

* unsub -> unsubscribe
2022-08-06 01:34:27 +02:00
Robert Svensson 44aa49dde8
Bump pydeconz to v102 (#76287) 2022-08-05 11:22:55 +02:00
GitHub Action cb46441b74 [ci skip] Translation update 2022-08-05 00:28:51 +00:00
Robert Svensson 98f0b24c42
Fix deconz group log warning (#76114) 2022-08-03 09:41:00 +02:00
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
epenet deff0ad61e
Implement generic in Deconz base device (#76015)
* Make DevonzBase a generic

* Adjust alarm_control_panel

* Adjust binary_sensor

* Adjust climate

* More platforms

* Adjust light

* Ignore type-var

* Add space

* Implement recommendation

* Use type: ignore[union-attr]

* Revert "Use type: ignore[union-attr]"

This reverts commit 983443062a.

* Adjust assert

* Adjust lock

* Rename type variables

* type: ignore[union-attr]

* Formatting

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2022-08-01 19:18:29 +02:00
Robert Svensson ae4b1967a3
Use pydeconz interface controls for lights (#75261) 2022-07-16 20:56:48 +02:00
Robert Svensson 4a3d047dff
Use pydeconz interface controls for fans (#75156) 2022-07-14 23:53:09 +02:00
GitHub Action 5d8e1b8387 [ci skip] Translation update 2022-07-12 00:24:26 +00:00
Robert Svensson d80d16aaa4
Use pydeconz interface controls for number platform (#74666) 2022-07-09 23:46:24 +02:00
Robert Svensson 63582c3f98
Bump deCONZ dependency to fix #74791 (#74804) 2022-07-09 23:40:15 +02:00
Robert Svensson e3242d8d16
Move add/remove logic of deCONZ clip sensors to gateway class (#74481) 2022-07-09 23:35:06 +02:00
Robert Svensson 2cc9db5468
Make deCONZ utilise forward_entry_setups (#74823) 2022-07-09 13:30:48 -05:00
Robert Svensson 24ca656372
Migrate deCONZ Group and Scenes to new entity naming style (#74761) 2022-07-09 19:17:50 +02:00
GitHub Action cdaefc8fda [ci skip] Translation update 2022-07-09 00:20:23 +00:00
Robert Svensson 3b3766fbe0
Bump deconz dependency to fix #74523 (#74710) 2022-07-08 12:54:09 +02:00
Robert Svensson ac85a3ce64
Use pydeconz interface controls for button platform (#74654) 2022-07-07 21:13:03 +03:00
Robert Svensson b071affcb4
Use pydeconz interface controls for cover platform (#74535) 2022-07-07 00:31:47 +02:00
Robert Svensson b590e51f88
Bump deCONZ dependency to v96 (#74460) 2022-07-05 18:54:03 +02:00
GitHub Action 3970639c34 [ci skip] Translation update 2022-07-01 00:27:03 +00:00
Robert Svensson fd89108483
Move add/remove logic of deCONZ groups to gateway class (#73952) 2022-06-29 12:31:50 +02:00
epenet ef5fccad9e
Use standard argument name in async_step_reauth (#74139) 2022-06-28 23:23:32 +02:00
Robert Svensson abf67c3153
Normalize deCONZ binary sensor unique IDs (#73657) 2022-06-28 13:45:25 -07:00