Remove white_value support from light (#76926)

This commit is contained in:
Erik Montnemery 2022-08-18 14:21:05 +02:00 committed by GitHub
parent f0deaa33a0
commit 60c8d95a77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 19 additions and 291 deletions

View file

@ -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}}