Based on various triggers, I run a python script, to give me an overview of the triggering entities and their states. I do so for switches, lights, device_trckers, media_players, and some active threshold sensors.
they all end with:
action: - delay: seconds: 2 - service: python_script.summary
In a calm period in the HA system, this is no problem, but I suspect it to become an issue when several of the triggered automations pass their conditions, and run the action… with the possibility of simultaneous called actions. Which is no good of course.
Can we somehow test if a python_script is currently being run, and add that as a condition to the automations?
thanks for having a look.