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