What do you guys think of this automation to check every night if there are lights or stuff open or on when they should be off or vice versa.
description: It will check everything is correctly working and if not it will let me know.
triggers:
- trigger: time
at: "22:00:00"
conditions: []
actions:
- choose:
- conditions:
- condition: state
entity_id: light.outside
state: "off"
sequence:
- action: notify.mobile_app_filippos_phone
data:
message: Outside lights are Off!
title: Warning!
- conditions:
- condition: state
entity_id: light.cantina_light
state: "on"
sequence:
- action: notify.mobile_app_filippos_phone
data:
message: Cantina light is On!
title: Warning!
- conditions:
- condition: state
entity_id: light.livingroom_lamp_light
state: "on"
sequence:
- action: notify.mobile_app_filippos_phone
data:
message: Lamp (living room) light is On!
title: Warning!
- conditions:
- condition: state
entity_id: switch.studio_lamp_outlet
state: "on"
- condition: state
entity_id: switch.studio_globe_outlet
state: "on"
sequence:
- action: notify.mobile_app_filippos_phone
data:
message: Studio lights are On!
title: Warning!
- conditions:
- condition: state
entity_id: light.livingroom_led
state: "on"
sequence:
- action: notify.mobile_app_filippos_phone
data:
message: Led (Tv) lights are On!
title: Warning!
- conditions:
- condition: state
entity_id: cover.outside_awning
state: closed
sequence:
- action: notify.mobile_app_filippos_phone
data:
message: Awning outside is Open!
title: Warning!
mode: single```
