mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 05:05:09 +02:00
Improve handling of DHCP devices (#39683)
This commit is contained in:
@@ -69,7 +69,7 @@ class ShellyDeviceWrapper(update_coordinator.DataUpdateCoordinator):
|
|||||||
super().__init__(
|
super().__init__(
|
||||||
hass,
|
hass,
|
||||||
_LOGGER,
|
_LOGGER,
|
||||||
name=device.settings["name"] or entry.title,
|
name=device.settings["name"] or device.settings["device"]["hostname"],
|
||||||
update_interval=timedelta(seconds=5),
|
update_interval=timedelta(seconds=5),
|
||||||
)
|
)
|
||||||
self.hass = hass
|
self.hass = hass
|
||||||
|
Reference in New Issue
Block a user