mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
parent
bf16b50679
commit
c08ca8a439
@ -110,7 +110,8 @@ class GdacsEvent(GeolocationEvent):
|
||||
self._remove_signal_update()
|
||||
# Remove from entity registry.
|
||||
entity_registry = await async_get_registry(self.hass)
|
||||
entity_registry.async_remove(self.entity_id)
|
||||
if self.entity_id in entity_registry.entities:
|
||||
entity_registry.async_remove(self.entity_id)
|
||||
|
||||
@callback
|
||||
def _delete_callback(self):
|
||||
|
@ -54,8 +54,6 @@ IGNORE_UNCAUGHT_EXCEPTIONS = [
|
||||
("tests.components.dyson.test_fan", "test_purecool_update_state_filter_inv"),
|
||||
("tests.components.dyson.test_fan", "test_purecool_component_setup_only_once"),
|
||||
("tests.components.dyson.test_sensor", "test_purecool_component_setup_only_once"),
|
||||
("tests.components.gdacs.test_geo_location", "test_setup"),
|
||||
("tests.components.gdacs.test_sensor", "test_setup"),
|
||||
("tests.components.geonetnz_quakes.test_geo_location", "test_setup"),
|
||||
("tests.components.geonetnz_quakes.test_sensor", "test_setup"),
|
||||
("test_homeassistant_bridge", "test_homeassistant_bridge_fan_setup"),
|
||||
|
Loading…
x
Reference in New Issue
Block a user