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
Joost Lekkerkerker
99a65fb45b
Collapse supported features list in Deconz ( #99233 )
...
* Use shorthand attributes for Deconz
* revert changes
2023-08-30 23:57:23 +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
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 983443062aab0a9c599b2750d823d0c5148c05ce.
* 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
b071affcb4
Use pydeconz interface controls for cover platform ( #74535 )
2022-07-07 00:31:47 +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
920c0d1667
Streamline setup of deCONZ cover platform ( #71656 )
2022-05-11 13:19:28 +02:00
Robert Svensson
790beb1346
Move deCONZ light imports to reflect changes in pydeconz ( #70469 )
2022-04-24 10:27:56 +02:00
Robert Svensson
678888c65f
deCONZ dependency exports type hints ( #70449 )
2022-04-22 19:27:47 -10: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
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
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
Robert Svensson
29e0ef604e
Add typing to deCONZ Climate and Cover platforms ( #59610 )
2021-11-17 15:08:37 +01:00
Robert Svensson
750dd9186e
Improve deCONZ signal strings ( #57140 )
2021-10-07 12:48:27 +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
Robert Svensson
3b64c574e3
Replace local listener implementation to using config_entry.on_unload in deCONZ ( #49494 )
2021-04-20 08:20:57 -10:00
Robert Svensson
da309ce342
Change device class of window covers to shade ( #47129 )
2021-02-27 14:09:25 -06:00
Robert Svensson
ac2c01d20c
deCONZ improve options updating entities ( #42320 )
2020-12-02 16:21:27 +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
acb94b0b59
Add tilt support to deCONZ covers ( #43607 )
2020-11-24 21:42:11 +01:00
Robert Svensson
7214d6517a
Fix conversion of cover position between HASS and deCONZ ( #43602 )
2020-11-24 14:47:56 +01:00
Robert Svensson
55cbd5aa0d
Track deCONZ lib changes to light based devices ( #43366 )
...
* Improve control of covers
* Log backtrace if available
* Do not create entity for controller tool
Binary sensor should use state rather than is_tripped
Add some more tests to lights and sensors
* Bump dependency to v74
* Fix Balloobs comments
2020-11-23 11:37:11 +01:00
Robert Svensson
8c0b39eb9c
No update before adding entity in deCONZ ( #41948 )
2020-10-16 17:14:26 +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
springstan
f93c0c5cd3
Use DEVICE_CLASS_WINDOW constant in various integrations ( #39949 )
2020-09-11 21:24:23 -05:00
Erik Montnemery
8c5c963b96
Rename CoverDevice to CoverEntity ( #34595 )
2020-04-25 18:07:15 +02:00
Knapoc
7ec7306ea8
Update deconz/cover.py to adapt rest-api changes ( #32351 )
...
* Update cover.py to adapt rest-api changes
* adjust test to reflect max brightness changes
* implement test for rest-api cover position of 255
2020-03-16 15:44:59 +01:00
springstan
89c7629215
Move imports to top for deconz ( #29489 )
2019-12-04 21:17:18 -08:00
Robert Svensson
8a39924b37
deCONZ improve light tests ( #26697 )
...
* Improve light tests
* Small improvements on light and group classes
2019-09-18 12:47:26 +02:00
Robert Svensson
518d2c31bb
deCONZ - use entity registry disabled_by to control available entities ( #26219 )
...
* First draft
* Support enabling disabled entities
* Clean up
* Move import
* Local entity enabled replaced during rebase
* Add option flow test
* Mark options properties with option
2019-09-05 16:38:00 -07:00
Robert Svensson
1f2e0d3949
deCONZ normalizes cover values to follow zigbee spec ( #26240 )
2019-08-27 21:06:14 +02:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Robert Svensson
31b2f331db
Library refactorization of deCONZ ( #23725 )
...
* Improved sensors
* Lib update signalling
* Replace reason with changed
* Move imports to top of file
* Add support for secondary temperature reported by some Xiaomi devices
* Bump dependency to v59
2019-05-27 06:56:00 +02:00
Robert Svensson
6e34015420
deCONZ - Retry on BridgeBusy errors ( #23436 )
2019-05-03 17:55:42 +02:00
cgtobi
2c07bfb9e0
Remove dependencies and requirements ( #23024 )
...
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit fe7171b4cd30889bad5adc9a4fd60059d05ba5a7.
* Remove dependencies and requirements
* Revert "Remove dependencies and requirements"
This reverts commit 391355ee2cc53cbe6954f940062b18ae34b05621.
* Remove dependencies and requirements
* Fix flake8 complaints
* Fix more flake8 complaints
* Revert non-component removals
2019-04-12 10:13:30 -07:00
Robert Svensson
b50afec5f1
Support multiple deCONZ gateways ( #22449 )
...
* Store gateways inside a dict in deconz domain
* Make reachable events gateway specific
* Gateway shall always exist
* Adapt new device signalling to support multiple gateways
* Services follow gateway master
* Working on unload entry
* Make unload and master handover work
Improve tests for init
* Fix config flow
* Fix linting
* Clean up init tests
* Clean up hassio discovery to fit with the rest
* Store gateways inside a dict in deconz domain
* Make reachable events gateway specific
* Gateway shall always exist
* Adapt new device signalling to support multiple gateways
* Services follow gateway master
* Working on unload entry
* Make unload and master handover work
Improve tests for init
* Fix config flow
* Fix linting
* Clean up init tests
* Clean up hassio discovery to fit with the rest
* Add support for services to specify bridgeid
2019-04-04 17:48:24 -07:00
Robert Svensson
9ce8f4737d
deCONZ thermostat support ( #20586 )
...
* Add support for thermostats in deCONZ by adding Climate platform
2019-02-18 17:43:22 +01:00
Fabian Affolter
127c55e0c1
Update file header ( #21023 )
...
* Update file header
* Update file header
* Update file header
* Update file header
* Update file header
* Fix lint issues
2019-02-13 21:21:14 +01:00
Robert Svensson
19e19009cc
Make all deCONZ platforms use a common base ( #20137 )
...
* Make all deconz platforms use a common base
* Fix one cover to device replacement too much...
2019-01-16 08:33:04 +01:00
Robert Svensson
a3f0d55737
Change deCONZ to embedded platforms ( #20113 )
...
Move all platforms into components/deconz
2019-01-15 19:29:56 +01:00