I have a very simple script:metadata: name: Plug off description: Notify
when the smart plug is offautomations: - starters: - type:
device.state.OnOff device: Smart Plug - Living Room state: on is: false
for: 5min actions: - type: home.command.Notifi...