Remove use of default_ device info in device_tracker (#179380)

This commit is contained in:
Erik Montnemery
2026-08-17 15:01:33 +02:00
committed by GitHub
parent d06dc45c60
commit 0e6fa3ba46
@@ -718,7 +718,7 @@ class ScannerEntity(
config_entry_id=self.platform.config_entry.entry_id,
config_subentry_id=self.registry_entry.config_subentry_id,
connections={(dr.CONNECTION_NETWORK_MAC, self.mac_address)},
default_name=self.hostname or self.mac_address,
name=self.hostname or self.mac_address,
)
# Link the entity's registry entry to the device