Change model to model_id in LaMetric (#122044)
This commit is contained in:
parent
0ad2398bda
commit
dc9b25af1c
2 changed files with 5 additions and 5 deletions
|
@ -27,7 +27,7 @@ class LaMetricEntity(CoordinatorEntity[LaMetricDataUpdateCoordinator]):
|
|||
},
|
||||
identifiers={(DOMAIN, coordinator.data.serial_number)},
|
||||
manufacturer="LaMetric Inc.",
|
||||
model=coordinator.data.model,
|
||||
model_id=coordinator.data.model,
|
||||
name=coordinator.data.name,
|
||||
sw_version=coordinator.data.os_version,
|
||||
)
|
||||
|
|
|
@ -49,7 +49,7 @@ async def test_button_app_next(
|
|||
assert device_entry.entry_type is None
|
||||
assert device_entry.identifiers == {(DOMAIN, "SA110405124500W00BS9")}
|
||||
assert device_entry.manufacturer == "LaMetric Inc."
|
||||
assert device_entry.model == "LM 37X8"
|
||||
assert device_entry.model_id == "LM 37X8"
|
||||
assert device_entry.name == "Frenck's LaMetric"
|
||||
assert device_entry.sw_version == "2.2.2"
|
||||
assert device_entry.hw_version is None
|
||||
|
@ -95,7 +95,7 @@ async def test_button_app_previous(
|
|||
assert device_entry.entry_type is None
|
||||
assert device_entry.identifiers == {(DOMAIN, "SA110405124500W00BS9")}
|
||||
assert device_entry.manufacturer == "LaMetric Inc."
|
||||
assert device_entry.model == "LM 37X8"
|
||||
assert device_entry.model_id == "LM 37X8"
|
||||
assert device_entry.name == "Frenck's LaMetric"
|
||||
assert device_entry.sw_version == "2.2.2"
|
||||
assert device_entry.hw_version is None
|
||||
|
@ -143,7 +143,7 @@ async def test_button_dismiss_current_notification(
|
|||
assert device_entry.entry_type is None
|
||||
assert device_entry.identifiers == {(DOMAIN, "SA110405124500W00BS9")}
|
||||
assert device_entry.manufacturer == "LaMetric Inc."
|
||||
assert device_entry.model == "LM 37X8"
|
||||
assert device_entry.model_id == "LM 37X8"
|
||||
assert device_entry.name == "Frenck's LaMetric"
|
||||
assert device_entry.sw_version == "2.2.2"
|
||||
assert device_entry.hw_version is None
|
||||
|
@ -191,7 +191,7 @@ async def test_button_dismiss_all_notifications(
|
|||
assert device_entry.entry_type is None
|
||||
assert device_entry.identifiers == {(DOMAIN, "SA110405124500W00BS9")}
|
||||
assert device_entry.manufacturer == "LaMetric Inc."
|
||||
assert device_entry.model == "LM 37X8"
|
||||
assert device_entry.model_id == "LM 37X8"
|
||||
assert device_entry.name == "Frenck's LaMetric"
|
||||
assert device_entry.sw_version == "2.2.2"
|
||||
assert device_entry.hw_version is None
|
||||
|
|
Loading…
Add table
Reference in a new issue