#1085 - Easier to read like this.
This commit is contained in:
parent
b447aaff9a
commit
0fbcd5604d
|
@ -62,16 +62,16 @@
|
|||
to: 'on'
|
||||
id: "in_bed"
|
||||
- platform: state
|
||||
entity_id:
|
||||
- binary_sensor.sleepnumber_carlo_carlo_is_in_bed
|
||||
- binary_sensor.sleepnumber_carlo_stacey_is_in_bed
|
||||
entity_id: group.bed
|
||||
to: 'off'
|
||||
id: "out_of_bed"
|
||||
|
||||
action:
|
||||
choose:
|
||||
- alias: "Some One in Bed"
|
||||
conditions: " {{ trigger.id == 'in_bed'}} "
|
||||
conditions:
|
||||
- condition: trigger
|
||||
id: in_bed
|
||||
sequence:
|
||||
- service: homeassistant.turn_off
|
||||
target:
|
||||
|
|
Loading…
Reference in New Issue