mirror of
https://github.com/home-assistant/core.git
synced 2025-09-01 10:51:47 +02:00
Add sw_version to JustNimbus device (#150592)
This commit is contained in:
committed by
GitHub
parent
bb3d571887
commit
7e28e3dcd3
@@ -28,6 +28,7 @@ class JustNimbusEntity(
|
||||
identifiers={(DOMAIN, device_id)},
|
||||
name="JustNimbus Sensor",
|
||||
manufacturer="JustNimbus",
|
||||
sw_version=coordinator.data.api_version,
|
||||
)
|
||||
|
||||
@property
|
||||
|
@@ -132,7 +132,7 @@ async def test_reauth_flow(hass: HomeAssistant) -> None:
|
||||
|
||||
with patch(
|
||||
"homeassistant.components.justnimbus.config_flow.justnimbus.JustNimbusClient.get_data",
|
||||
return_value=MagicMock(),
|
||||
return_value=MagicMock(api_version="1.0.0"),
|
||||
):
|
||||
result2 = await hass.config_entries.flow.async_configure(
|
||||
result["flow_id"],
|
||||
|
Reference in New Issue
Block a user