Robert Svensson
506240be10
Streamline naming in deCONZ integration ( #111977 )
2024-03-18 22:08:06 +01:00
Robert Svensson
3ba29c361a
Remove old update of group unique id in deCONZ ( #112533 )
2024-03-15 21:09:44 +02:00
Robert Svensson
9c2c7f1a45
Remove old update of number unique id in deCONZ ( #113524 )
2024-03-15 21:08:18 +02:00
Robert Svensson
e90388afd1
Remove old update of sensor unique id in deCONZ ( #113527 )
2024-03-15 21:06:09 +02:00
Robert Svensson
e41133e9f0
Remove old update unique id function from deCONZ binary sensor ( #112536 )
2024-03-15 12:05:45 +01:00
Robert Svensson
932e073fee
Split out deCONZ config model ( #112851 )
...
* Add separate deCONZ config class
* Use config in get_deconz_api
2024-03-13 22:49:49 +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
Robert Svensson
03e4a20cdf
Rename get_deconz_session to get_deconz_api ( #112826 )
...
Move and rename get_deconz_session to get_deconz_api
2024-03-09 18:32:31 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
J. Nick Koston
f3a9756f81
Avoid waiting for integration platforms in the parent integration ( #112467 )
2024-03-05 21:16:42 -10:00
Robert Svensson
4437b3bc97
Fix deCONZ light entity might not report a supported color mode ( #112116 )
...
* Handle case where deCONZ light entity might not report a supported color mode
* If in an unknown color mode set ColorMode.UNKNOWN
* Fix comment from external discussion
2024-03-05 11:55:22 +01:00
Robert Svensson
b39b2d161c
Deconz fix gradient color mode ( #111890 )
...
* Fix deconz gradient colormode
* Fix gradient light not reporting color mode in deCONZ
2024-02-29 22:43:47 +01:00
J. Nick Koston
61610a5ef9
Ensure deconz tests add config entry before updating it ( #110417 )
2024-02-12 15:29:33 -06:00
Marc Mueller
c82933175d
Use builtin TimeoutError [a-d] ( #109678 )
2024-02-05 11:31:33 +01:00
Robert Svensson
195ef6d769
Fix lights reporting unsupported colormodes in deCONZ ( #108812 )
2024-01-25 08:38:57 +01:00
G Johansson
83f4d3af5c
Implement mode validation in Climate entity component ( #105745 )
...
* Implement mode validation in Climate entity component
* Fix some tests
* more tests
* Fix translations
* fix deconz tests
* Fix switcher_kis tests
* not None
* Fix homematicip_cloud test
* Always validate
* Fix shelly
* reverse logic in validation
* modes_str
---------
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-27 14:51:39 +01:00
Erik Montnemery
6908497c3d
Add minor version to config entries ( #105479 )
2023-12-12 08:44:35 +01:00
Robert Svensson
2a8a60b381
Improve LIDL christmas light detection in deCONZ ( #105155 )
2023-12-07 09:19:38 +01:00
Robert Svensson
b41b56e54c
Support new deCONZ Particulate Matter endpoint ( #104276 )
2023-11-24 11:39:13 +01:00
Franck Nijhof
81909f7ddf
Update deconz tests to use device & entity registry fixtures ( #103703 )
2023-11-09 18:06:53 +01:00
Robert Svensson
a691bd26cf
Support Lidl christmas light effects in deCONZ ( #102731 )
2023-10-25 00:32:20 +02:00
Paul Bottein
c98c18f25e
Return 'None' for light attributes when off instead of removing them ( #101946 )
2023-10-19 01:08:08 +02:00
Joost Lekkerkerker
1f0e8f93c5
Use snapshot assertion for Deconz diagnostics test ( #98908 )
2023-08-23 21:37:03 +02:00
Franck Nijhof
868a5f377f
Ruff: isort don't split imports based on trailing comma ( #98162 )
2023-08-10 14:27:03 +02:00
J. Nick Koston
d4cdb0453f
Guard expensive debug formatting with calls with isEnabledFor ( #97073 )
2023-07-23 10:54:25 +02:00
Erik Montnemery
17ac1a6d32
Set automations which fail validation unavailable ( #94856 )
2023-06-27 18:23:33 +02:00
Erik Montnemery
5884afd485
Teach sensor device trigger about entity registry ids ( #94988 )
2023-06-22 11:13:54 +02:00
Erik Montnemery
4414f06ed2
Teach binary_sensor device trigger about entity registry ids ( #94963 )
...
* Teach binary_sensor device trigger about entity registry ids
* Update deconz test
2023-06-21 14:49:53 +02:00
Erik Montnemery
6a29ed8caa
Replace assert_lists_same with pytest_unordered in integrations a-f ( #94900 )
2023-06-20 20:22:31 +02:00
Tobias G
d4e352d6a7
Add humidity sensor to deconz component ( #93024 )
...
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2023-06-01 19:16:42 +02:00
Ville Skyttä
ced67e5800
Import `util.dt` as `dt_util` in `components/[a-d]*` ( #93756 )
2023-05-30 00:02:06 +03:00
Jan Bouwhuis
ec98e22330
Add type hints for stub_blueprint_populate fixture ( #93568 )
...
Add typehints for stub_blueprint_populate fixture
2023-05-26 08:13:13 +02:00
Erik Montnemery
3cca338c6e
Improve blueprint test fixtures ( #93519 )
2023-05-25 13:45:19 +02:00
ad0p
ef24e508f8
Bump pydeconz to v112 ( #91924 )
...
* Bump pydeconz to v112
* PR review - add suggested_display_precision
* Test - fix
* Bump pydeconz to v112
* PR review - add suggested_display_precision
* Fix tests
---------
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2023-05-24 14:43:02 +02:00
Erik Montnemery
63f3767a29
Include UUID in hassio discovery data ( #91970 )
2023-04-25 09:48:47 +02:00
Markus
1a14a93df6
HA deconz: Add support for Tuya Smart Air Housekeeper 6in1 Air Quality Monitor ( #87866 )
...
* fix check for airquality sensor (was always TRUE)
* import additional const required
* add support for formaldehyd sensor
* add support for co2 sensor
* add support for pm25 sensor
* sort const a-z
* adapt to typo fixed function
* adapt to new key names (formaldehyde)
* adapt co2 sensor to new key names
* Update homeassistant/components/deconz/sensor.py
remove unnecessary code
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
* add device_class for air_quality_ppb
* add test_air_quality_sensor_6_in_1
* fix Air quality PPB test to match device_class
* remove device_class of air_quality_ppb
* remove device_class test of airqualityppb
* explicit units
* remove device_class test of airquality_1_ppb
* dependency bump pydeconz to 111
* Update homeassistant/components/deconz/sensor.py
remove unnecessary device_class
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
* import formatting
* formatting
* Update homeassistant/components/deconz/sensor.py
change key for pm2_5
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
* add airquality co2 ch2o pm25 sensor testdata
* remove test_air_quality_sensor_6_in_1
* formatting
* bump pydeconz for requirements
---------
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2023-04-23 16:12:52 +02:00
epenet
c1b7aa084c
Fix race condition in deconz ( #91328 )
...
* Fix race condition in deconz
* Use a new separate test
2023-04-13 15:04:21 +02:00
Franck Nijhof
ed79265843
Enable Ruff PT006 ( #88165 )
...
* Enable Ruff PT006
* Adjust existing cases
* Fix tests
* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
9f688a564f
Add type hints to integration tests (part 4) ( #87848 )
2023-02-11 08:26:13 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
epenet
3052de3e8e
Add type hints to integration tests (d-e) ( #87699 )
2023-02-08 13:01:44 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
epenet
67f8d82818
Remove invalid state class in deconz ( #85615 )
2023-01-10 17:28:35 +01:00
Franck Nijhof
5c794234e7
Fix incorrect voc device class usage in Deconz sensors ( #84371 )
2022-12-21 22:44:13 +01:00
Jelte Zeilstra
3fc667f55d
Fix error when describing deCONZ events of removed devices ( #84194 )
...
* Fix error when describing deCONZ events of removed devices
* Apply suggestions from code review
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-12-20 10:06:01 +01:00
Erik Montnemery
774ebc760c
Ignore certain device trigger validation errors ( #83972 )
2022-12-14 16:41:11 +01:00
Robert Svensson
3853182ccf
Add deconz_relative_rotary event for Hue Tap Dial ( #82727 )
2022-11-27 15:01:58 -05:00
Robert Svensson
e1a0f8314e
Fix deCONZ Air Quality PPB device class and unit of measurement ( #82726 )
...
Fix Air Quality PPB device class and unit of measurement
2022-11-26 10:56:09 +01:00
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