mirror of
https://github.com/home-assistant/core.git
synced 2025-09-11 15:51:47 +02:00
Fix stale comment in entity registry (#151226)
This commit is contained in:
@@ -1187,7 +1187,7 @@ class EntityRegistry(BaseRegistry):
|
||||
return
|
||||
|
||||
# Ignore device disabled by config entry, this is handled by
|
||||
# async_config_entry_disabled
|
||||
# async_config_entry_disabled_by_changed
|
||||
if device.disabled_by is dr.DeviceEntryDisabler.CONFIG_ENTRY:
|
||||
return
|
||||
|
||||
|
Reference in New Issue
Block a user