mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-08-19 03:29:34 +00:00
Closes #113 - Added Justin's Color Torando trigger!
This commit is contained in:
19
automation/color_tornado.yaml
Executable file
19
automation/color_tornado.yaml
Executable file
@@ -0,0 +1,19 @@
|
||||
######################################################################
|
||||
## Color Tornado!
|
||||
######################################################################
|
||||
- alias: 'Color Tornado'
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: input_boolean.color_tornado
|
||||
state: 'on'
|
||||
from: 'off'
|
||||
|
||||
action:
|
||||
- service: light.turn_on
|
||||
entity_id:
|
||||
- light.justin_go
|
||||
data:
|
||||
effect: colorloop
|
||||
|
||||
- service: input_boolean.turn_off
|
||||
entity_id: input_boolean.color_tornado
|
@@ -23,6 +23,10 @@ flash:
|
||||
name: Flash
|
||||
initial: off
|
||||
|
||||
color_tornado:
|
||||
name: Color Tornado!
|
||||
initial: off
|
||||
|
||||
guard_dog:
|
||||
name: Guard Dog
|
||||
initial: off
|
||||
|
@@ -11,9 +11,6 @@ monthly_color_scene:
|
||||
- condition: state
|
||||
entity_id: sun.sun
|
||||
state: 'below_horizon'
|
||||
- condition: state
|
||||
entity_id: input_boolean.alert_mode
|
||||
state: 'off'
|
||||
|
||||
- service: logbook.log
|
||||
data_template:
|
||||
|
Reference in New Issue
Block a user