I would like to suggest an option on a “per device” level to have an integration only try to connect to the device based on custom conditions. Given the responses to my question on whether it’s possible, I’m assuming that it’s currently not.
My reason for this: I have a bunch of integrated devices (TVs, AV receivers, several game consoles, etc.) that are plugged into a smart plug to cut standby power. Resulting in the integrations for those devices continuously trying to reconnect, and giving “Network Error” or “Timeout” warnings.
So the ability to have an integration only try to connect to a device e.g. when a switch is on, or the device is online (ping, Unifi, etc.) would be great.