Improve handling of DHCP devices (#39683)
This commit is contained in:
1 parent
74fea6d306
commit
1fffa748e5
1 file changed
+1
-1
@@ -69,7 +69,7 @@ class ShellyDeviceWrapper(update_coordinator.DataUpdateCoordinator):
|
||||
super().__init__(
|
||||
hass,
|
||||
_LOGGER,
|
||||
name=device.settings["name"] or entry.title,
|
||||
name=device.settings["name"] or device.settings["device"]["hostname"],
|
||||
update_interval=timedelta(seconds=5),
|
||||
)
|
||||
self.hass = hass
|
||||
|
||||
Reference in new issue
Block a user