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 Fix shelly sleepy entities never being created (#124547) 2024-08-25 09:21:23 -10:00
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 Bump aioshelly to 11.4.1 to accomodate shelly GetStatus calls that take a few seconds to respond (#124893) 2024-08-30 09:05:16 -10:00
test_cover.py Add support for cover tilt for Shelly 2PM Gen3 (#125717) 2024-09-12 09:28:36 +02:00
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 Fix Shelly sleepy RPC setup if device is already awake (#124734) 2024-08-27 10:48:13 -10:00
test_light.py Add support for Shelly CCT light (#126989) 2024-10-04 08:49:35 +02:00
test_logbook.py
test_number.py Fix shelly sleepy entities never being created (#124547) 2024-08-25 09:21:23 -10:00
test_select.py
test_sensor.py Improve Shelly RPC entity naming (#125415) 2024-09-15 11:29:26 +02:00
test_switch.py Fix shelly sleepy entities never being created (#124547) 2024-08-25 09:21:23 -10:00
test_text.py
test_update.py Fix Shelly update entity names (#126512) 2024-09-23 14:18:24 +02:00
test_utils.py Improve Shelly RPC entity naming (#125415) 2024-09-15 11:29:26 +02:00
test_valve.py Change valve state to an enum (#126428) 2024-09-23 14:20:18 +02:00