Compare commits
No commits in common. "ca0f8c700ada9342d0764c24b0bb5abb508d255f" and "22c19375ac5dcb49e0648aa16c431537407aa5e4" have entirely different histories.
ca0f8c700a
...
22c19375ac
|
@ -1 +1 @@
|
|||
2023.12.3
|
||||
2023.11.3
|
|
@ -48,7 +48,6 @@
|
|||
- switch.front_door_outlet
|
||||
- switch.foyer_outlet
|
||||
- switch.den_outlet
|
||||
- switch.front_office_window
|
||||
- switch.living_room_outlet
|
||||
- switch.living_room_tv_outlet
|
||||
- service: light.turn_on
|
||||
|
|
|
@ -13,7 +13,6 @@ Interior Switches:
|
|||
- switch.living_room_outlet_2
|
||||
- switch.living_room_tv_outlet
|
||||
- switch.office_lamp_switch_socket
|
||||
- switch.front_office_window
|
||||
|
||||
Kitchen Accents:
|
||||
entities:
|
||||
|
@ -32,4 +31,3 @@ Outdoor Seasonal:
|
|||
- switch.xmas4
|
||||
- switch.xmas_dual_outlet_1
|
||||
- switch.xmas_dual_outlet_2
|
||||
- switch.outdoor_xmas
|
||||
|
|
|
@ -15,14 +15,13 @@ automation:
|
|||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.grid_status
|
||||
|
||||
condition:
|
||||
- condition: template
|
||||
# Check that both current and previous states are not 'unavailable', 'unknown', or 'null'.
|
||||
value_template: >-
|
||||
{{ states('binary_sensor.grid_status') not in ['unavailable', 'unknown', 'null'] and
|
||||
trigger.from_state.state not in ['unavailable', 'unknown', 'null'] }}
|
||||
|
||||
condition: or
|
||||
conditions:
|
||||
- condition: template
|
||||
value_template: "{{ states('binary_sensor.grid_status') == 'on' }}"
|
||||
- condition: template
|
||||
value_template: "{{ states('binary_sensor.grid_status') == 'off' }}"
|
||||
action:
|
||||
- service: script.notify_engine
|
||||
data:
|
||||
|
@ -38,6 +37,7 @@ automation:
|
|||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.grid_status
|
||||
from: 'True'
|
||||
to: 'False'
|
||||
|
||||
action:
|
||||
|
@ -81,6 +81,7 @@ automation:
|
|||
trigger:
|
||||
- platform: state
|
||||
entity_id: binary_sensor.grid_status
|
||||
from: 'True'
|
||||
to: 'False'
|
||||
for:
|
||||
minutes: 6
|
||||
|
|
File diff suppressed because one or more lines are too long
Binary file not shown.
Loading…
Reference in New Issue