* 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>
* Don't enable any variants of the daylight sensor entities by default
* Use isinstance rather than doing ZHATYPE compare
* Accidentally removed an import
* Mark entities as unavailable when they are removed but are still registered
* Add sync_entity_lifecycle to collection helper
* Remove debug print
* Lint
* Fix tests
* Fix tests
* Update zha
* Update zone
* Fix tests
* Update hyperion
* Update rfxtrx
* Fix tests
* Pass force_remove=True from integrations
Co-authored-by: Erik <erik@montnemery.com>
* 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
* Use set not list
* Events are not entities
* Don't await unload_events
* Remove checks of entities content in tests
* List to set comprehension
* Why is it so hard to remember that sets arent parenthesis...
* 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
* Improve gateway tests
* Harmonize all tests to use the same gateway initialization method
* Improve scene tests
* Add gateway resync call to platform tests
* Forgot to change switch tests to use common gateway method
* Improve event tests
* Improve binary sensor tests
* Fix sensor tests
* Improve readability of binary sensor
* Fix climate tests
Fix sensor platform not loading climate devices as sensors
* Add test to verify adding new sensor after start up
* 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
* 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
* 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