Fix light automations
change light.toggle to light.turn_on
This commit is contained in:
parent
2af639deb4
commit
1e554cc0df
@ -3,7 +3,6 @@
|
||||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.bathroom_motion_occupancy
|
||||
from: 'off'
|
||||
to: 'on'
|
||||
- platform: state
|
||||
entity_id: binary_sensor.bathroom_door_open_close
|
||||
@ -31,7 +30,7 @@
|
||||
entity_id: input_boolean.sleep_mode
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: light.toggle
|
||||
- service: light.turn_on
|
||||
entity_id: light.bathroom_lights
|
||||
data:
|
||||
brightness_pct: 100
|
||||
|
@ -23,7 +23,7 @@
|
||||
entity_id: input_boolean.sleep_mode
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: light.toggle
|
||||
- service: light.turn_on
|
||||
entity_id: light.bathroom_mirror_lights
|
||||
data:
|
||||
brightness_pct: 100
|
||||
|
@ -23,7 +23,7 @@
|
||||
entity_id: input_boolean.sleep_mode
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: light.toggle
|
||||
- service: light.turn_on
|
||||
entity_id: light.shower_lights
|
||||
data:
|
||||
brightness_pct: 100
|
||||
|
@ -30,7 +30,7 @@
|
||||
entity_id: input_boolean.sleep_mode
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: light.toggle
|
||||
- service: light.turn_on
|
||||
entity_id: light.bedroom_lights
|
||||
data:
|
||||
brightness_pct: 60
|
||||
|
@ -23,7 +23,7 @@
|
||||
entity_id: input_boolean.sleep_mode
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: light.toggle
|
||||
- service: light.turn_on
|
||||
entity_id: light.desk_lightbar
|
||||
data:
|
||||
brightness_pct: 100
|
||||
@ -69,7 +69,7 @@
|
||||
entity_id: input_boolean.sleep_mode
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: light.toggle
|
||||
- service: light.turn_on
|
||||
entity_id: light.tv_lights
|
||||
data:
|
||||
brightness_pct: 100
|
||||
|
@ -29,7 +29,7 @@
|
||||
entity_id: input_boolean.sleep_mode
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: light.toggle
|
||||
- service: light.turn_on
|
||||
entity_id: light.hallway_lightstrip
|
||||
data:
|
||||
brightness_pct: 100
|
||||
|
@ -32,7 +32,7 @@
|
||||
entity_id: input_boolean.sleep_mode
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: light.toggle
|
||||
- service: light.turn_on
|
||||
entity_id: light.kitchen_lights
|
||||
data:
|
||||
brightness_pct: 100
|
||||
@ -156,7 +156,7 @@
|
||||
entity_id: input_boolean.sleep_mode
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: light.toggle
|
||||
- service: light.turn_on
|
||||
entity_id: light.kitchen_sink_lighstrip
|
||||
data:
|
||||
brightness_pct: 100
|
||||
@ -208,7 +208,7 @@
|
||||
entity_id: input_boolean.sleep_mode
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: light.toggle
|
||||
- service: light.turn_on
|
||||
entity_id: light.kitchen_lights
|
||||
data:
|
||||
brightness_pct: 100
|
||||
|
@ -32,7 +32,7 @@
|
||||
entity_id: input_boolean.sleep_mode
|
||||
state: 'off'
|
||||
sequence:
|
||||
- service: light.toggle
|
||||
- service: light.turn_on
|
||||
entity_id: light.kitchen_lights
|
||||
data:
|
||||
brightness_pct: 100
|
||||
|
Loading…
Reference in New Issue
Block a user