ESPHome configured entity persists despite being removed from ESP device config

Have been playing about with the new ESPHomeYAML integration, but have ran into a issue…

When setting up new sensors/switches, etc… in ESPHome, they appear in Home Assistant automatically, which is great. However in the event you ever remove a component from your ESP configuration, the now dead entity lives on in Home Assistant and I see no obvious way to remove it.

Removing the ESP device from Integrations entirely makes it go away, but it comes back when the device is re-added despite the entity no longer being part of the ESP device’s configuration.

1 Like

a) Use HA beta 0.86.0 (bugfix)
b) restart HA