epenet
439a393816
Use runtime_data in deconz ( #136412 )
...
* Use runtime_data in deconz
* Adjust master logic
* Simplify
* Move DeconzConfigEntry definition
* More TYPE_CHECKING
* Apply suggestions from code review
2025-01-27 10:16:57 +01:00
G Johansson
768c2b0f3d
Remove _enable_turn_on_off_backwards_compatibility A-F ( #132417 )
...
Remove _enable_turn_on_off_backwards_compatibility A-G
2024-12-05 21:46:59 +01:00
epenet
4fcfbd8134
Rename deconz base entity module ( #126041 )
...
* Move and rename deconz base entity to separate module
* Cancel rename
2024-09-20 23:40:08 +02:00
epenet
e0a221ba1f
Add alias to DOMAIN import in deconz ( #125568 )
2024-09-09 19:27:06 +02:00
Robert Svensson
506240be10
Streamline naming in deCONZ integration ( #111977 )
2024-03-18 22:08:06 +01:00
Robert Svensson
ffcbab1c20
Split out deCONZ hub ( #112854 )
...
* Rename DeconzGateway to DeconzHub
* Move gateway.py to hub/hub.py
2024-03-10 08:25:12 +01:00
Marc Mueller
0e3945ca6c
Add empty line after module docstring [d-f] ( #112698 )
2024-03-08 14:15:26 +01:00
G Johansson
f15aa037ef
Add new climate feature flags to deconz ( #109482 )
2024-02-03 11:17:20 +01:00
epenet
44d3f2192c
Use UnitOfTemperature in climate entities [a-f] ( #83125 )
2022-12-04 11:53:56 +02: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
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
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
e3242d8d16
Move add/remove logic of deCONZ clip sensors to gateway class ( #74481 )
2022-07-09 23:35:06 +02:00
Robert Svensson
474e0fd6d0
Use pydeconz interface controls for climate platform ( #73670 )
...
* Use pydeconz interface controls for climate
* Bump pydeconz to make use of enums in more places
2022-06-20 12:04:12 +02:00
Robert Svensson
e60b247b51
Simplify setup of deCONZ platforms ( #72453 )
2022-05-24 20:48:09 -07:00
Robert Svensson
007c6d2236
Streamline setup of deCONZ binary sensor platform ( #71820 )
2022-05-17 00:04:57 +02:00
Robert Svensson
bed2d1e37b
Streamline setup of deCONZ climate platform ( #71708 )
2022-05-13 09:51:19 +02:00
epenet
9dcbc8469e
Use climate enums in deconz ( #70630 )
...
* Use climate enums in deconz
* Adjust tests
* Adjust type hint
* Update climate.py
* Update climate.py
* Update climate.py
* Don't edit files in Github!
2022-04-25 16:18:44 +02:00
Robert Svensson
301dcaae63
Move deCONZ sensor imports to reflect changes in pydeconz ( #70471 )
2022-04-23 22:59:51 +03:00
Robert Svensson
678888c65f
deCONZ dependency exports type hints ( #70449 )
2022-04-22 19:27:47 -10:00
Robert Svensson
f0b1d35562
Address late review of deconz climate ( #70148 )
...
* Fix late comment
* Avoid unnecessary properties
* Add clip sensor test to increase coverage of climate
* Fix review_comment
2022-04-16 21:14:54 +02:00
Robert Svensson
87551b7880
Improve typing of deCONZ climate platform ( #69882 )
...
* Improve typing of deCONZ climate platform
homeassistant/components/deconz/climate.py:153: error: Dict entry 0 has incompatible type "str": "bool"; expected "str": "str" [dict-item]
homeassistant/components/deconz/climate.py:154: error: Dict entry 1 has incompatible type "str": "bool"; expected "str": "str" [dict-item]
homeassistant/components/deconz/climate.py:176: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Literal['off', 'low', 'medium', 'high', 'on', 'auto', 'smart']]"; expected "str" [arg-type]
homeassistant/components/deconz/climate.py:200: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Literal['off', 'auto', 'cool', 'heat', 'emergency heating', 'precooling', 'fan only', 'dry', 'sleep']]"; expected "str" [arg-type]
homeassistant/components/deconz/climate.py:218: error: Argument 1 to "set_config" of "Thermostat" has incompatible type "**Dict[str, str]"; expected "Optional[int]" [arg-type]
homeassistant/components/deconz/climate.py:218: error: Argument 1 to "set_config" of "Thermostat" has incompatible type "**Dict[str, str]"; expected "Optional[bool]" [arg-type]
homeassistant/components/deconz/climate.py:218: error: Argument 1 to "set_config" of "Thermostat" has incompatible type "**Dict[str, str]"; expected "Optional[List[str]]" [arg-type]
homeassistant/components/deconz/climate.py:225: error: Argument 1 to "get" of "Mapping" has incompatible type "Optional[Literal['holiday', 'auto', 'manual', 'comfort', 'eco', 'boost', 'complex']]"; expected "str" [arg-type]
homeassistant/components/deconz/climate.py:244: error: Unused "type: ignore" comment
homeassistant/components/deconz/climate.py:250: error: Unused "type: ignore" comment
homeassistant/components/deconz/climate.py:253: error: Unused "type: ignore" comment
* Simplify populating supported_hvac_modes
Fix tests
2022-04-14 23:19:42 +03:00
epenet
c8df2656b1
Use EntityFeature enum in components (d**) ( #69358 )
2022-04-06 00:00:37 +02:00
Robert Svensson
d6d7f3cb3c
Bump pydeconz to v88 ( #69369 )
2022-04-05 13:44:04 -07: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
750dd9186e
Improve deCONZ signal strings ( #57140 )
2021-10-07 12:48:27 +02:00
Robert Svensson
8258443a9e
Replace strings with library constants in deCONZ climate platform
2021-10-02 09:08:01 +02:00
Robert Svensson
f224ab6d67
Use isinstance to verify class in deCONZ integration ( #56794 )
...
* Don't enable any variants of the daylight sensor entities by default
* Use isinstance rather than doing ZHATYPE compare
* Accidentally removed an import
2021-09-29 21:19:21 +02:00
Robert Svensson
539ef31046
Reflect changes to pydeconz v84 ( #56361 )
...
Mostly snake case conversions and typing
But also a change in retry mechanism
Added a more complete set_* call to most types to remove the direct relation to rest API of deCONZ
2021-09-18 09:05:08 +02:00
Robert Svensson
6352d8fb0e
Use more attr instead of properties in deCONZ integration ( #52098 )
2021-06-23 21:40:34 +02:00
Franck Nijhof
258b388f41
Collection of changing entity properties to class attributes ( #51248 )
...
* Collection of changing entity properties to class attributes
* Apply suggestions from code review
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-05-31 10:50:11 +02:00
Robert Svensson
3b64c574e3
Replace local listener implementation to using config_entry.on_unload in deCONZ ( #49494 )
2021-04-20 08:20:57 -10:00
Marc Mueller
7c0734bdd5
Update typing 05 ( #48038 )
2021-03-17 23:43:55 +01:00
Erik Montnemery
6c084ae6ce
Update integrations a-e to override extra_state_attributes() ( #47756 )
2021-03-11 16:51:03 +01:00
Jan-Willem Mulder
75b37b4c2a
Expose locked attribute in deCONZ climate platform ( #46814 )
2021-02-22 07:53:58 +01:00
Robert Svensson
2c66d26415
Improve look up speed by inverting dictionaries ( #43883 )
2020-12-03 10:37:39 +01:00
Robert Svensson
6e8efe2b67
Add fan support to deCONZ climate platform ( #43721 )
2020-12-02 18:08:46 +01:00
Robert Svensson
25db1dac23
Add preset support to deCONZ climate platform ( #43722 )
2020-12-02 17:14:05 +01:00
Robert Svensson
ac2c01d20c
deCONZ improve options updating entities ( #42320 )
2020-12-02 16:21:27 +01:00
Robert Svensson
1faef0a4d4
Make simple deCONZ thermostats work ( #43781 )
2020-12-01 18:49:58 +01:00
Robert Svensson
6fa3e287da
Add support to control cooling in deCONZ climate platform ( #43720 )
...
* Add fan support
* Add HVAC cool support
* Fix Martins comment from #43607
* Add preset support
* Improve climate test coverage
* Remove fan support
* Remove preset support
* Remove last preset piece
2020-11-28 13:11:13 +01:00
Robert Svensson
8c0b39eb9c
No update before adding entity in deCONZ ( #41948 )
2020-10-16 17:14:26 +02:00
Robert Svensson
dc71b7421c
Improve deCONZ climate platform handling unsupported commands ( #41780 )
...
* Improve deCONZ climate platform
* Raise valueerror if missing input
* Fix linting
2020-10-13 22:11:09 +02:00
Robert Svensson
552856203b
Clean deCONZ tests to depend less on integration code ( #41015 )
2020-10-02 11:20:33 +02:00
Robert Svensson
c2ed743237
Improve deCONZ platforms ( #40986 )
...
* Use platform domain imports with the list of supported platforms
* Remove legacy async_setup_platform from platforms
2020-10-01 19:06:20 +02:00
Robert Svensson
203c556ba3
Improve tracking of existing entities in deconz ( #40265 )
...
* Store all entities in dict
* Use stored unique id to select if to create entity or not
* Remove unnecessary init
* Change so same physical sensor doesnt try to create multiple battery sensors
Change so groups get created properly
* Add controls in tests that entities are logged correctly
2020-09-25 22:49:28 +02:00
Erik Montnemery
29bc93ea98
Rename ClimateDevice to ClimateEntity ( #34591 )
2020-04-25 18:04:03 +02:00
Robert Svensson
e695bb55c8
deCONZ - Race condition on slower systems ( #32274 )
...
When battery sensors gets created before other platforms loading deconz sensors gets created first the other platform would not create entities related to those battery sensors
2020-02-27 20:48:01 +01:00