* 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>
* 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>
* 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>
* 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