core/homeassistant/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
binary_sensor.py
button.py
climate.py
config_flow.py
const.py
coordinator.py
cover.py
device_trigger.py
diagnostics.py
entity.py
event.py
icons.json
light.py
logbook.py
manifest.json
number.py
select.py
sensor.py
strings.json
switch.py
text.py
update.py
utils.py
valve.py