Home Assistant has a trigger you can set as unavailable. So when a device goes off line you can trigger an event to restart the device in like 5 minutes. Like if you have a motion or present sensor plugged into a zwave or zigbee switch it will turn the switch off than on again.
Is there a function like unavailable in Habitat?
Yes, you can use custom attributes as a trigger in RM. As long as your device supports updating its state ie online/offline it shouldn’t be an issue.
Can you tell me where to find if the device support is and give me an example rule.
Either the driver supports it as an attribute state, or it does not.

Then use it in a rule as a custom attribute (a custom attribute is a state that is not normally associated with a default state for the device capability, so you need to choose custom attribute to use it.)
1 Like
Thanks for your help ![]()
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.