mirror of
https://github.com/home-assistant/core.git
synced 2025-08-06 14:15:12 +02:00
Fix Roborock status not correctly mapping for some devices (#115646)
Use device_info.model instead of name
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user