mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fix model in Husqvarna Automower (#128168)
This commit is contained in:
parent
0ccff9fc54
commit
d389b55f40
@ -125,7 +125,9 @@ class AutomowerBaseEntity(CoordinatorEntity[AutomowerDataUpdateCoordinator]):
|
||||
self._attr_device_info = DeviceInfo(
|
||||
identifiers={(DOMAIN, mower_id)},
|
||||
manufacturer="Husqvarna",
|
||||
model=self.mower_attributes.system.model,
|
||||
model=self.mower_attributes.system.model.removeprefix(
|
||||
"HUSQVARNA "
|
||||
).removeprefix("Husqvarna "),
|
||||
name=self.mower_attributes.system.name,
|
||||
serial_number=self.mower_attributes.system.serial_number,
|
||||
suggested_area="Garden",
|
||||
|
@ -20,7 +20,7 @@
|
||||
'labels': set({
|
||||
}),
|
||||
'manufacturer': 'Husqvarna',
|
||||
'model': 'HUSQVARNA AUTOMOWER® 450XH',
|
||||
'model': 'AUTOMOWER® 450XH',
|
||||
'model_id': None,
|
||||
'name': 'Test Mower 1',
|
||||
'name_by_user': None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user