Add model_id to lamarzocco (#128344)

This commit is contained in:
Josef Zweck
2024-10-14 11:45:02 +02:00
committed by GitHub
parent fed6a4689f
commit 4c10ce6f40
2 changed files with 2 additions and 1 deletions

View File

@@ -43,6 +43,7 @@ class LaMarzoccoBaseEntity(
name=device.name,
manufacturer="La Marzocco",
model=device.full_model_name,
model_id=device.model,
serial_number=device.serial_number,
sw_version=device.firmware[FirmwareType.MACHINE].current_version,
)

View File

@@ -113,7 +113,7 @@
}),
'manufacturer': 'La Marzocco',
'model': <MachineModel.GS3_AV: 'GS3 AV'>,
'model_id': None,
'model_id': <MachineModel.GS3_AV: 'GS3 AV'>,
'name': 'GS01234',
'name_by_user': None,
'primary_config_entry': <ANY>,