Hi guys,
I have a simple automation to turn off smart plug after X amount of time, this part it’s working
but i want to know / display in UI when this automation it’s running (yes the automation it’s start manually)
The action automation.turn_on doesn’t trigger an automation, it enables it so that if the triggers fire the automation will run.
If you’d like to have a series of actions that you can run on demand (such as in your example here), then you really want a script.
Another option, since you want this to happen after some delay is to to have the button press start a timer, and then have an automation that has an event triggered for the timer.finish event and the action would be to turn off the smart plug. Then you could display on your dashboard if the timer is running and even how much time is left before it ends.
I’m using the custom Auto entities card to show me all currently running automations. Maybe it’s something for you too.
You can customize the filter to your taste…