I have an automation (see below) that closes window blinds at a specific time of day but I want to create an automation that sends a notification listing the cover devices in that automation that fail to close.
I’m guessing it would be better to include the notify
as an additional action in the same Close automation, following a wait command?
I haven’t got a clue where to start with this so I would welcome any help.
- alias: Close Blinds
id: close_blinds
mode: single
trigger:
platform: numeric_state
entity_id: sun.sun
attribute: elevation
below: -0.4
condition:
- condition: state
entity_id: sun.sun
attribute: rising
state: false
action:
- service: script.close_all_window_blinds