Remove white_value support from light (#76926)
This commit is contained in:
parent
f0deaa33a0
commit
60c8d95a77
20 changed files with 19 additions and 291 deletions
|
@ -90,19 +90,6 @@ OPTIMISTIC_HS_COLOR_LIGHT_CONFIG = {
|
|||
}
|
||||
|
||||
|
||||
OPTIMISTIC_WHITE_VALUE_LIGHT_CONFIG = {
|
||||
**OPTIMISTIC_ON_OFF_LIGHT_CONFIG,
|
||||
"set_white_value": {
|
||||
"service": "test.automation",
|
||||
"data_template": {
|
||||
"action": "set_white_value",
|
||||
"caller": "{{ this.entity_id }}",
|
||||
"white_value": "{{white_value}}",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
async def async_setup_light(hass, count, light_config):
|
||||
"""Do setup of light integration."""
|
||||
config = {"light": {"platform": "template", "lights": light_config}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue