Compare commits

..

2 Commits

Author SHA1 Message Date
CCOSTAN ca0f8c700a #272 - Added in more logic to stem false alarms. 2023-12-16 19:27:00 +00:00
CCOSTAN f30f02dfb9 Added another holiday plug. 2023-11-26 21:28:55 +00:00
6 changed files with 12 additions and 10 deletions

View File

@ -1 +1 @@
2023.11.3 2023.12.3

View File

@ -48,6 +48,7 @@
- switch.front_door_outlet - switch.front_door_outlet
- switch.foyer_outlet - switch.foyer_outlet
- switch.den_outlet - switch.den_outlet
- switch.front_office_window
- switch.living_room_outlet - switch.living_room_outlet
- switch.living_room_tv_outlet - switch.living_room_tv_outlet
- service: light.turn_on - service: light.turn_on

View File

@ -13,6 +13,7 @@ Interior Switches:
- switch.living_room_outlet_2 - switch.living_room_outlet_2
- switch.living_room_tv_outlet - switch.living_room_tv_outlet
- switch.office_lamp_switch_socket - switch.office_lamp_switch_socket
- switch.front_office_window
Kitchen Accents: Kitchen Accents:
entities: entities:
@ -31,3 +32,4 @@ Outdoor Seasonal:
- switch.xmas4 - switch.xmas4
- switch.xmas_dual_outlet_1 - switch.xmas_dual_outlet_1
- switch.xmas_dual_outlet_2 - switch.xmas_dual_outlet_2
- switch.outdoor_xmas

View File

@ -15,13 +15,14 @@ automation:
trigger: trigger:
- platform: state - platform: state
entity_id: binary_sensor.grid_status entity_id: binary_sensor.grid_status
condition: condition:
condition: or
conditions:
- condition: template - condition: template
value_template: "{{ states('binary_sensor.grid_status') == 'on' }}" # Check that both current and previous states are not 'unavailable', 'unknown', or 'null'.
- condition: template value_template: >-
value_template: "{{ states('binary_sensor.grid_status') == 'off' }}" {{ states('binary_sensor.grid_status') not in ['unavailable', 'unknown', 'null'] and
trigger.from_state.state not in ['unavailable', 'unknown', 'null'] }}
action: action:
- service: script.notify_engine - service: script.notify_engine
data: data:
@ -37,7 +38,6 @@ automation:
trigger: trigger:
- platform: state - platform: state
entity_id: binary_sensor.grid_status entity_id: binary_sensor.grid_status
from: 'True'
to: 'False' to: 'False'
action: action:
@ -81,7 +81,6 @@ automation:
trigger: trigger:
- platform: state - platform: state
entity_id: binary_sensor.grid_status entity_id: binary_sensor.grid_status
from: 'True'
to: 'False' to: 'False'
for: for:
minutes: 6 minutes: 6

File diff suppressed because one or more lines are too long