# Trying to toggle a switch every 10 seconds, by a delay, toggle swith, run same script again (maybe re-entrant does not work in HA?):
# What running mode does the script have? That said, this is not a great way to do it, try just using a loop