Correct Venstar firmware version to use device's FW version instead of API version (#98493)
parent
09f58ec396
commit
e87603aa59
|
@ -1361,8 +1361,8 @@ build.json @home-assistant/supervisor
|
|||
/homeassistant/components/velbus/ @Cereal2nd @brefra
|
||||
/tests/components/velbus/ @Cereal2nd @brefra
|
||||
/homeassistant/components/velux/ @Julius2342
|
||||
/homeassistant/components/venstar/ @garbled1
|
||||
/tests/components/venstar/ @garbled1
|
||||
/homeassistant/components/venstar/ @garbled1 @jhollowe
|
||||
/tests/components/venstar/ @garbled1 @jhollowe
|
||||
/homeassistant/components/verisure/ @frenck
|
||||
/tests/components/verisure/ @frenck
|
||||
/homeassistant/components/versasense/ @imstevenxyz
|
||||
|
|
|
@ -153,5 +153,5 @@ class VenstarEntity(CoordinatorEntity[VenstarDataUpdateCoordinator]):
|
|||
name=self._client.name,
|
||||
manufacturer="Venstar",
|
||||
model=f"{self._client.model}-{self._client.get_type()}",
|
||||
sw_version=self._client.get_api_ver(),
|
||||
sw_version="{}.{}".format(*(self._client.get_firmware_ver())),
|
||||
)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"domain": "venstar",
|
||||
"name": "Venstar",
|
||||
"codeowners": ["@garbled1"],
|
||||
"codeowners": ["@garbled1", "@jhollowe"],
|
||||
"config_flow": true,
|
||||
"documentation": "https://www.home-assistant.io/integrations/venstar",
|
||||
"iot_class": "local_polling",
|
||||
|
|
|
@ -18,7 +18,8 @@ class VenstarColorTouchMock:
|
|||
"""Initialize the Venstar library."""
|
||||
self.status = {}
|
||||
self.model = "COLORTOUCH"
|
||||
self._api_ver = 5
|
||||
self._api_ver = 7
|
||||
self._firmware_ver = tuple(5, 28)
|
||||
self.name = "TestVenstar"
|
||||
self._info = {}
|
||||
self._sensors = {}
|
||||
|
|
Loading…
Reference in New Issue