ESPHome integration : Add the ability to deactivate/disable the communication to a device

I have devices that are used only in summer. I physically remove them so they are not on the network anymore.

When I disconnect a device, the ESPHome integration searches for it and the logs get full of:

Can’t connect to ESPHome API for Error connecting to (‘’, 6053): [Errno 113] Connect call failed (‘’, 6053)
Trying to reconnect to in 60 seconds

I tried to disable all the entities of the device, that didn’t help.

Deleting the integration would definitely work but my understanding is that it will delete all the associated entities. I might have modified some entity’s name through the UI and added some custom icons and such. I have the feeling that I will have to start all over when I re-add the integration next summer.

So, having a “Deactivate” or “Disable” option beside the “Delete” one on the integration page that only stops all communication with the device without removing any entities would be great for “temporary” devices like this.