Closed TheJulianJES closed 5 years ago
It seems like that the json colors are correctly parsed (which can be seen in the log) but they are not used, since we are including "effect" in the payload (see: https://github.com/OttoWinter/esphomelib/blob/master/src/esphomelib/light/light_state.cpp#L163) (Why even parsing the json for colors, if effect, ... is included?)
Fix for this issue: #169 (Board: NodeMCUv2, esp8266, hassio esphomeyaml addon "bleeding-edge" -> currently 1.8.1)
Home Assistant scene which are not working as expected:
only changes the effect to "None" but does not change the colors.
also only changes the effect to "Flicker" but does not change the colors. (Even if we're changing back to None through e.g. the hass interface)
{"state": "ON", "effect": "None"}
works and turns the effect off, as expected.{"state": "ON", "color": {"r": 0, "g": 0, "b": 255}, "brightness": 200, "effect": "None"}
only changes the effect to "None".{"state": "ON", "color": {"r": 0, "g": 0, "b": 255}, "brightness": 200, "effect": "Flicker"}
only changes the effect to "Flicker".Relevant esphomeyaml config entry:
Log entry (when activating the scene at the top, which doesn't do anything at all):