Drop spurious log messages in Matter bridge device removal (#122036)
Don't log a message when a device is removed from the Matter bridge.pull/122054/head
parent
dc9b25af1c
commit
d0c1632976
|
@ -233,7 +233,6 @@ def _remove_via_devices(
|
||||||
devices = dr.async_entries_for_config_entry(device_registry, config_entry.entry_id)
|
devices = dr.async_entries_for_config_entry(device_registry, config_entry.entry_id)
|
||||||
for device in devices:
|
for device in devices:
|
||||||
if device.via_device_id == device_entry.id:
|
if device.via_device_id == device_entry.id:
|
||||||
LOGGER.info("Removing device %s", device.id)
|
|
||||||
device_registry.async_update_device(
|
device_registry.async_update_device(
|
||||||
device.id, remove_config_entry_id=config_entry.entry_id
|
device.id, remove_config_entry_id=config_entry.entry_id
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue