1
0

Fix light automations

change light.toggle to light.turn_on
This commit is contained in:
pgrondek 2021-05-25 16:56:30 +02:00
parent 2af639deb4
commit 1e554cc0df
8 changed files with 11 additions and 12 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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