I’d love to be able to automate the reloading of integrations if an automation detects that the devices/entities they create become unavailable.
A use case:
Lately I’ve been noticing all of my LocalTuya devices randomly become unavailable at night. Reloading the LocalTuya integration seems to fix this, but I have to first notice the devices are unavailable and then reload the integration manually. This would be so simple to automate IF there was an “integration.reload” service!
A second use case:
My Brother laser printer is getting old. It’s WiFi and Ethernet goes to sleep and doesn’t wake up. I’ve added a smart plug to it and created an automation to power cycle the printer when it’s been “Unavailable” for 10+ minutes, which works in most instances. Sometimes I have to manually reload the Brother integration after a printer reboot to get it to show up as “Online” again. At the moment I have to do this manually, but it could be so easily automated with an “integration.reload” service!