diff --git a/automation/ghost_race.yaml b/automation/ghost_race.yaml deleted file mode 100755 index 41ab96bf..00000000 --- a/automation/ghost_race.yaml +++ /dev/null @@ -1,38 +0,0 @@ -###################################################################### -## TV Time at sunset or 8pm. Whichever is later. -###################################################################### - -- alias: TV Time - trigger: - - platform: sun - event: sunset - offset: '+01:00:00' - - platform: event - event_type: tv_time - - platform: state - entity_id: sensor.samsungtv - state: Online - - platform: time - after: '20:00:00' - - condition: - condition: and - conditions: - - condition: state - entity_id: group.family - state: home - - condition: state - entity_id: sensor.samsungtv - state: Online - - condition: state - entity_id: sun.sun - state: 'below_horizon' - - condition: state - entity_id: input_boolean.guest_mode - state: 'off' - - condition: time - after: '20:00:00' - - action: - service: scene.turn_on - entity_id: scene.living_room_tv_time diff --git a/group/home_mode.yaml b/group/home_mode.yaml index 6e3de083..bfe9e7b2 100755 --- a/group/home_mode.yaml +++ b/group/home_mode.yaml @@ -2,3 +2,4 @@ home_modes: entities: - input_boolean.guest_mode - scene.living_room_tv_time + - automation.mealtime