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: trigger:
- platform: state - platform: state
entity_id: binary_sensor.bathroom_motion_occupancy entity_id: binary_sensor.bathroom_motion_occupancy
from: 'off'
to: 'on' to: 'on'
- platform: state - platform: state
entity_id: binary_sensor.bathroom_door_open_close entity_id: binary_sensor.bathroom_door_open_close
@ -31,7 +30,7 @@
entity_id: input_boolean.sleep_mode entity_id: input_boolean.sleep_mode
state: 'off' state: 'off'
sequence: sequence:
- service: light.toggle - service: light.turn_on
entity_id: light.bathroom_lights entity_id: light.bathroom_lights
data: data:
brightness_pct: 100 brightness_pct: 100

View File

@ -23,7 +23,7 @@
entity_id: input_boolean.sleep_mode entity_id: input_boolean.sleep_mode
state: 'off' state: 'off'
sequence: sequence:
- service: light.toggle - service: light.turn_on
entity_id: light.bathroom_mirror_lights entity_id: light.bathroom_mirror_lights
data: data:
brightness_pct: 100 brightness_pct: 100

View File

@ -23,7 +23,7 @@
entity_id: input_boolean.sleep_mode entity_id: input_boolean.sleep_mode
state: 'off' state: 'off'
sequence: sequence:
- service: light.toggle - service: light.turn_on
entity_id: light.shower_lights entity_id: light.shower_lights
data: data:
brightness_pct: 100 brightness_pct: 100

View File

@ -30,7 +30,7 @@
entity_id: input_boolean.sleep_mode entity_id: input_boolean.sleep_mode
state: 'off' state: 'off'
sequence: sequence:
- service: light.toggle - service: light.turn_on
entity_id: light.bedroom_lights entity_id: light.bedroom_lights
data: data:
brightness_pct: 60 brightness_pct: 60

View File

@ -23,7 +23,7 @@
entity_id: input_boolean.sleep_mode entity_id: input_boolean.sleep_mode
state: 'off' state: 'off'
sequence: sequence:
- service: light.toggle - service: light.turn_on
entity_id: light.desk_lightbar entity_id: light.desk_lightbar
data: data:
brightness_pct: 100 brightness_pct: 100
@ -69,7 +69,7 @@
entity_id: input_boolean.sleep_mode entity_id: input_boolean.sleep_mode
state: 'off' state: 'off'
sequence: sequence:
- service: light.toggle - service: light.turn_on
entity_id: light.tv_lights entity_id: light.tv_lights
data: data:
brightness_pct: 100 brightness_pct: 100

View File

@ -29,7 +29,7 @@
entity_id: input_boolean.sleep_mode entity_id: input_boolean.sleep_mode
state: 'off' state: 'off'
sequence: sequence:
- service: light.toggle - service: light.turn_on
entity_id: light.hallway_lightstrip entity_id: light.hallway_lightstrip
data: data:
brightness_pct: 100 brightness_pct: 100

View File

@ -32,7 +32,7 @@
entity_id: input_boolean.sleep_mode entity_id: input_boolean.sleep_mode
state: 'off' state: 'off'
sequence: sequence:
- service: light.toggle - service: light.turn_on
entity_id: light.kitchen_lights entity_id: light.kitchen_lights
data: data:
brightness_pct: 100 brightness_pct: 100
@ -156,7 +156,7 @@
entity_id: input_boolean.sleep_mode entity_id: input_boolean.sleep_mode
state: 'off' state: 'off'
sequence: sequence:
- service: light.toggle - service: light.turn_on
entity_id: light.kitchen_sink_lighstrip entity_id: light.kitchen_sink_lighstrip
data: data:
brightness_pct: 100 brightness_pct: 100
@ -208,7 +208,7 @@
entity_id: input_boolean.sleep_mode entity_id: input_boolean.sleep_mode
state: 'off' state: 'off'
sequence: sequence:
- service: light.toggle - service: light.turn_on
entity_id: light.kitchen_lights entity_id: light.kitchen_lights
data: data:
brightness_pct: 100 brightness_pct: 100

View File

@ -32,7 +32,7 @@
entity_id: input_boolean.sleep_mode entity_id: input_boolean.sleep_mode
state: 'off' state: 'off'
sequence: sequence:
- service: light.toggle - service: light.turn_on
entity_id: light.kitchen_lights entity_id: light.kitchen_lights
data: data:
brightness_pct: 100 brightness_pct: 100