Fix model in Husqvarna Automower (#128168)
This commit is contained in:
parent
7097315079
commit
6e53c93271
2 changed files with 4 additions and 2 deletions
|
@ -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…
Add table
Reference in a new issue