mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 21:27:38 +00:00
Fix device data roborock (#128792)
This commit is contained in:
parent
0704c3ccb9
commit
311aa74dd3
@ -169,7 +169,7 @@ async def setup_device_v1(
|
|||||||
) -> RoborockDataUpdateCoordinator | None:
|
) -> RoborockDataUpdateCoordinator | None:
|
||||||
"""Set up a device Coordinator."""
|
"""Set up a device Coordinator."""
|
||||||
mqtt_client = await hass.async_add_executor_job(
|
mqtt_client = await hass.async_add_executor_job(
|
||||||
RoborockMqttClientV1, user_data, DeviceData(device, product_info.name)
|
RoborockMqttClientV1, user_data, DeviceData(device, product_info.model)
|
||||||
)
|
)
|
||||||
try:
|
try:
|
||||||
networking = await mqtt_client.get_networking()
|
networking = await mqtt_client.get_networking()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user