We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08aa87d commit 34f46c3Copy full SHA for 34f46c3
custom_components/calendar_event/__init__.py
@@ -68,9 +68,11 @@ def set_source_entity_id_or_uuid(source_entity_id: str) -> None:
68
)
69
70
async def source_entity_removed() -> None:
71
- # The source entity has been removed, we remove the config entry because
72
- # calendar_event does not allow replacing the wrapped entity.
73
- await hass.config_entries.async_remove(entry.entry_id)
+ # The source entity has been removed.
+ LOGGER.error(
+ "Failed to setup calender_event for unknown entity %s",
74
+ entry.options[CONF_CALENDAR_ENTITY_ID],
75
+ )
76
77
entry.async_on_unload(
78
async_handle_source_entity_changes(
0 commit comments