Using alert with Hue maintains prior state (#3147)

* When using flash with hue, dont change the on/off state of the light so that it will naturally return to its previous state once flash is complete

* ATTR_FLASH not ATTR_EFFECT
This commit is contained in:
Robbie Trencheny authored and GitHub committed 2016-09-04 03:04:12 -07:00
1 parent 22362727e4
commit 0f37d8d8eb
3 files changed
+20

No files matched your search

@@ -98,6 +98,7 @@ LIGHT_TURN_ON_SCHEMA = vol.Schema({
LIGHT_TURN_OFF_SCHEMA = vol.Schema({
ATTR_ENTITY_ID: cv.entity_ids,
ATTR_TRANSITION: VALID_TRANSITION,
ATTR_FLASH: vol.In([FLASH_SHORT, FLASH_LONG]),
})
LIGHT_TOGGLE_SCHEMA = vol.Schema({