mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 04:37:06 +00:00
Fix Roborock status not correctly mapping for some devices (#115646)
Use device_info.model instead of name
This commit is contained in:
parent
29bfed72f7
commit
d8117fd2bd
@ -107,7 +107,9 @@ async def setup_device(
|
||||
home_data_rooms: list[HomeDataRoom],
|
||||
) -> RoborockDataUpdateCoordinator | None:
|
||||
"""Set up a device Coordinator."""
|
||||
mqtt_client = RoborockMqttClientV1(user_data, DeviceData(device, product_info.name))
|
||||
mqtt_client = RoborockMqttClientV1(
|
||||
user_data, DeviceData(device, product_info.model)
|
||||
)
|
||||
try:
|
||||
networking = await mqtt_client.get_networking()
|
||||
if networking is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user