I am continually getting these errors as HA trys to connect to a device that is switched off.
How can I stop it doing this?
2019-12-21 09:32:50 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for esp32_ble.local: Error resolving IP address: [Errno -2] Name does not resolve
2019-12-21 09:32:50 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds
2019-12-21 09:33:02 INFO (MainThread) [homeassistant.components.esphome] Can't connect to ESPHome API for 192.168.7.56: Error connecting to ('192.168.7.56', 6053): [Errno 113] Connect call failed ('192.168.7.56', 6053)
2019-12-21 09:33:02 INFO (MainThread) [homeassistant.components.esphome] Trying to reconnect in 60 seconds
I have been into Configuration / Devices and disabled the sensors (why is there not a slider to disable all of them at once?) to no effect.
I cannot see any other facility to tell HA to ignore a device it has previously discovered.
The entities are not showing up there. I’ve disabled them in the Configuration -> devices but HA is still looking for the device.
What is odd, is that it is only certain devices this happens to. I have other devices, that are exactly the same, but HA does not continually try and connect to them.