From 0fbcd5604dc01af7c4560e51c6ec334c46735582 Mon Sep 17 00:00:00 2001 From: ccostan Date: Tue, 27 Jul 2021 10:17:30 -0400 Subject: [PATCH] #1085 - Easier to read like this. --- config/automation/good_night.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config/automation/good_night.yaml b/config/automation/good_night.yaml index b4cac900..456f8b72 100755 --- a/config/automation/good_night.yaml +++ b/config/automation/good_night.yaml @@ -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: