I have a few smartbulbs (Shelly) which from time to time goes to state “Unavailable”. Mainly because someone use the “hardswitch” and cut the power.
Are there anyway to create a event which trigger an action each time the specific device change to or from “unavailable”?
If there are any way to use state:unavailble in condition as well, I would be very happy.