hass-core/tests/components/shelly
Maciej Bieniek 1290f18ed4
Add support for Shelly CCT light (#126989)
* Initial support for cct lights

* Move properties to the RpcShellyCctLight class

* Fix entity names

* Add async_remove_orphaned_entities() function

* Do not return

* Fix tests

* Combine async_remove_orphaned_virtual_entities and async_remove_orphaned_entities

* Remove SHELLY_PLUS_RGBW_CHANNELS from const

* Add tests

* Use _attr*

* Check ColorMode.COLOR_TEMP

* Add sensors for CCT light

* Remove removal condition

* Remove orphaned sensors

* Cleaning

* Add device temperature sensor for CCT light

* Simplify async_remove_orphaned_entities()

* Comment

* Add COMPONENT_ID_PATTERN const

* Call async_add_entities once

* Suggested change

* Better type for keys

* Do not call keys()
2024-10-04 08:49:35 +02:00
..
bluetooth
__init__.py
conftest.py Fix update platform for Shelly gen1 devices (#124798) 2024-09-20 15:57:32 +02:00
test_binary_sensor.py
test_button.py
test_climate.py Change Climate set temp action for incorrect feature will raise (#126692) 2024-09-25 21:16:14 +02:00
test_config_flow.py Use start_reconfigure_flow in config flow tests (#127191) 2024-10-02 10:01:15 +02:00
test_coordinator.py
test_cover.py
test_device_trigger.py
test_diagnostics.py Index config entry discovery_keys by discovery domain (#126563) 2024-09-23 21:48:11 +02:00
test_event.py
test_init.py
test_light.py Add support for Shelly CCT light (#126989) 2024-10-04 08:49:35 +02:00
test_logbook.py
test_number.py
test_select.py
test_sensor.py
test_switch.py
test_text.py
test_update.py Fix Shelly update entity names (#126512) 2024-09-23 14:18:24 +02:00
test_utils.py
test_valve.py Change valve state to an enum (#126428) 2024-09-23 14:20:18 +02:00