mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Add model_id to flexit (bacnet) entity (#132875)
* Add model_id to flexit (bacnet) entity * Add model to mock
This commit is contained in:
parent
fb3ffaf18d
commit
b46392041f
@ -26,6 +26,7 @@ class FlexitEntity(CoordinatorEntity[FlexitCoordinator]):
|
||||
name=coordinator.device.device_name,
|
||||
manufacturer="Flexit",
|
||||
model="Nordic",
|
||||
model_id=coordinator.device.model,
|
||||
serial_number=coordinator.device.serial_number,
|
||||
)
|
||||
|
||||
|
@ -44,6 +44,7 @@ def mock_flexit_bacnet() -> Generator[AsyncMock]:
|
||||
):
|
||||
flexit_bacnet.serial_number = "0000-0001"
|
||||
flexit_bacnet.device_name = "Device Name"
|
||||
flexit_bacnet.model = "S4 RER"
|
||||
flexit_bacnet.room_temperature = 19.0
|
||||
flexit_bacnet.air_temp_setpoint_away = 18.0
|
||||
flexit_bacnet.air_temp_setpoint_home = 22.0
|
||||
|
Loading…
x
Reference in New Issue
Block a user