mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Improve handling of DHCP devices (#39683)
This commit is contained in:
parent
74fea6d306
commit
1fffa748e5
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user