Fixing a lot of stuff related to Spook! #1350

This commit is contained in:
CCOSTAN
2024-09-25 18:15:57 +00:00
parent 9105e5fc12
commit cbea31a807
6 changed files with 2 additions and 65 deletions

View File

@@ -8,8 +8,8 @@
- platform: state
entity_id:
- sensor.downstairs_thermostat_hvac_state
- sensor.upstairs_thermostat_hvac_state
- climate.downstairs
- climate.upstairs
from: 'off'
action:

View File

@@ -10,10 +10,6 @@
mode: single
# Set the trigger for the automation
trigger:
# The automation will be triggered when the state of the "binary_sensor.downstairs_nest_away" entity changes to "on"
- platform: state
entity_id: binary_sensor.downstairs_nest_away
to: 'on'
# The automation will also be triggered when the state of the "group.family" entity changes to "not_home"
- platform: state
entity_id: group.family

View File

@@ -6,9 +6,6 @@
- alias: 'Late Night Helper'
id: acacc9b4-b66d-46d2-bf6d-47b75afddb57
trigger:
- platform: state
entity_id: binary_sensor.downstairs_nest_away
to: 'off'
- platform: state
entity_id: group.family
to: 'home'

View File

@@ -11,9 +11,6 @@
trigger:
- platform: event
event_type: upstairs_light_on
- platform: state
entity_id: binary_sensor.upstairs_nest_away
to: 'off'
condition:
- condition: state
@@ -29,17 +26,10 @@
- alias: 'Upstairs Light Turn off'
id: ee50f882-94b7-4cfc-bc2e-4a3e07ae08a8
trigger:
- platform: event
event_type: upstairs_light_off
- platform: state
entity_id: binary_sensor.upstairs_nest_away
to: 'on'
- platform: state
entity_id: light.upstairs_lights
to: 'on'
for: '02:00:00'
action:
service: light.turn_off
entity_id: light.upstairs_lights