Compare commits
2 Commits
22c19375ac
...
ca0f8c700a
Author | SHA1 | Date |
---|---|---|
CCOSTAN | ca0f8c700a | |
CCOSTAN | f30f02dfb9 |
|
@ -1 +1 @@
|
||||||
2023.11.3
|
2023.12.3
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
Binary file not shown.
Loading…
Reference in New Issue