-
Notifications
You must be signed in to change notification settings - Fork 633
Closed
Labels
Description
Noticed in gitter
https://gitter.im/tinkerman-cat/espurna?at=632e273b9d3c186299170be1
Based on updated docs
https://www.home-assistant.io/integrations/light.mqtt/#json-schema
"white_value" is deprecated and replaced with ["color"]["w"] and ["color"]["c"] combined with "color_mode"
espurna/code/espurna/homeassistant.cpp
Lines 414 to 430 in 75a518c
| // { | |
| // "brightness": 255, | |
| // "color_temp": 155, | |
| // "color": { | |
| // "r": 255, | |
| // "g": 180, | |
| // "b": 200, | |
| // "x": 0.406, | |
| // "y": 0.301, | |
| // "h": 344.0, | |
| // "s": 29.412 | |
| // }, | |
| // "effect": "colorloop", | |
| // "state": "ON", | |
| // "transition": 2, | |
| // "white_value": 150 | |
| // } |
https://www.home-assistant.io/integrations/light.mqtt/#color_mode
Flag that defines if the light supports color modes.
https://www.home-assistant.io/integrations/light.mqtt/#supported_color_modes
A list of color modes supported by the list. This is required if color_mode is True. Possible color modes are onoff, brightness, color_temp, hs, xy, rgb, rgbw, rgbww, white.
Reactions are currently unavailable