Commit Graph

888 Commits (d7e7dc96cc7f79d15095704f78869ba860a5042a)

Author SHA1 Message Date
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 d81ed37501
Fix unsupported device type in deCONZ integration (#111892) 2024-02-29 21:05:43 -05: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
Erik Montnemery 6fe28d3764
Migrate integrations a-d to generic flowhandler (#111861) 2024-02-29 20:07:14 +01:00
J. Nick Koston 30094acec7
Fix dict changing size during iteration in deconz (#111523) 2024-02-26 10:47:08 -10:00
Joost Lekkerkerker 953fd82d2c
Add icon translations to Deconz (#111363) 2024-02-25 17:12:14 +01:00
Marc Mueller c82933175d
Use builtin TimeoutError [a-d] (#109678) 2024-02-05 11:31:33 +01:00
G Johansson f15aa037ef
Add new climate feature flags to deconz (#109482) 2024-02-03 11:17:20 +01:00
Robert Svensson 7b9dbc2187
Support alternative modelid for LIDL doorbell in deCONZ device triggers (#107937)
Add support alternative modelid for LIDL doorbell
2024-01-31 16:03:12 +01:00
Robert Svensson 195ef6d769
Fix lights reporting unsupported colormodes in deCONZ (#108812) 2024-01-25 08:38:57 +01:00
Erik Montnemery 0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Robert Svensson 2a8a60b381
Improve LIDL christmas light detection in deCONZ (#105155) 2023-12-07 09:19:38 +01:00
c0ffeeca7 0c08081386
Deconz to DoorBird: add host field description (#104772)
* Deconz to DoorBird: add host field description

* Update homeassistant/components/deconz/strings.json

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

---------

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2023-11-30 17:24:21 +01:00
Aarni Koskela 706add4a57
Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
Robert Svensson b41b56e54c
Support new deCONZ Particulate Matter endpoint (#104276) 2023-11-24 11:39:13 +01:00
Franck Nijhof 2c003d8c10
Remove Deconz entity descriptions required fields mixins (#104009) 2023-11-16 16:05:29 +01:00
Robert Svensson a691bd26cf
Support Lidl christmas light effects in deCONZ (#102731) 2023-10-25 00:32:20 +02: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
liangjia2019 63c2a2994f
Add new zigbee button SONOFF_SNZB_01P to deconz (#99205)
add new zigbee button
2023-08-29 09:17:27 +02:00
Marc Mueller e2d2ec8817
Use asyncio.timeout [b-e] (#98448) 2023-08-15 08:30:20 -05:00
Erik Montnemery 045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
J. Nick Koston d4cdb0453f
Guard expensive debug formatting with calls with isEnabledFor (#97073) 2023-07-23 10:54:25 +02:00
Erik Montnemery 7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device (#96479)
* Require keyword arguments to DeviceRegistry.async_get_device

* Update tests

* Update tests

* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Paulus Schoutsen 7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Joost Lekkerkerker b367c95c81
Add more common translations (#96429)
* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations

* Add common translations
2023-07-12 22:00:05 -04:00
Franck Nijhof c252758ac2
Migrate integration services (B-D) to support translations (#96363) 2023-07-11 23:06:32 +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
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
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
Robert Svensson 7487a004fd
Bump pydeconz to v110 (#89527)
* Bump pydeconz to v109

* Bump pydeconz to v110 for additional color modes
2023-03-11 20:13:27 +01:00
Robert Svensson f0af0e2b42
Bump pydeconz to v108 (catch lingering tasks) (#88510) 2023-02-20 17:34:00 -06:00
Franck Nijhof 9030ca05b1
Enable Ruff SIM118 (#87772) 2023-02-15 12:39:12 +01:00
Robert Svensson 3d8e8293d6
Bump pydeconz to v107 (#88114) 2023-02-14 13:48:24 -05: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
Erik Montnemery 87420e949d
Sort manifests 2 (#87023) 2023-02-08 20:16:39 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
epenet 810367b757
Fix `can not` typo (#87254) 2023-02-03 11:37:16 +01:00
Franck Nijhof 5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
Franck Nijhof c56832bb2c
Enable Ruff SIM300 (#86793) 2023-01-30 11:03:23 +01:00
GitHub Action 71d7098530 [ci skip] Translation update 2023-01-27 00:25:12 +00:00
Robert Svensson 9a6e620810
Fix missing interface key in deCONZ logbook (#86684)
fixes undefined
2023-01-26 11:44:01 +01:00
GitHub Action 7ab88fa713 [ci skip] Translation update 2023-01-26 00:23:39 +00:00
Marc Mueller 1eec87214f
Update Union typing (1) [Py310] (#86424) 2023-01-23 08:38:45 +01:00
GitHub Action 771e07c68b [ci skip] Translation update 2023-01-22 00:25:52 +00:00
GitHub Action d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
GitHub Action 87b2a73460 [ci skip] Translation update 2023-01-18 00:24:40 +00:00
Joakim Plate 829df7ddfd
Adjust translations for zha buttons (#86095) 2023-01-17 21:36:11 +02:00
epenet 67f8d82818
Remove invalid state class in deconz (#85615) 2023-01-10 17:28:35 +01:00
GitHub Action 2976f843b5 [ci skip] Translation update 2023-01-07 00:22:33 +00:00