Bump vallox_websocket_api to 4.0.2 (#103339)
This commit is contained in:
parent
941239262a
commit
c04db6a249
5 changed files with 12 additions and 6 deletions
|
@ -135,7 +135,7 @@ class ValloxState:
|
|||
@property
|
||||
def sw_version(self) -> str:
|
||||
"""Return the SW version."""
|
||||
return cast(str, _api_get_sw_version(self.metric_cache))
|
||||
return _api_get_sw_version(self.metric_cache)
|
||||
|
||||
@property
|
||||
def uuid(self) -> UUID | None:
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
"documentation": "https://www.home-assistant.io/integrations/vallox",
|
||||
"iot_class": "local_polling",
|
||||
"loggers": ["vallox_websocket_api"],
|
||||
"requirements": ["vallox-websocket-api==3.3.0"]
|
||||
"requirements": ["vallox-websocket-api==4.0.2"]
|
||||
}
|
||||
|
|
|
@ -2658,7 +2658,7 @@ url-normalize==1.4.3
|
|||
uvcclient==0.11.0
|
||||
|
||||
# homeassistant.components.vallox
|
||||
vallox-websocket-api==3.3.0
|
||||
vallox-websocket-api==4.0.2
|
||||
|
||||
# homeassistant.components.rdw
|
||||
vehicle==2.0.0
|
||||
|
|
|
@ -1976,7 +1976,7 @@ url-normalize==1.4.3
|
|||
uvcclient==0.11.0
|
||||
|
||||
# homeassistant.components.vallox
|
||||
vallox-websocket-api==3.3.0
|
||||
vallox-websocket-api==4.0.2
|
||||
|
||||
# homeassistant.components.rdw
|
||||
vehicle==2.0.0
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
"""Tests for Vallox switch platform."""
|
||||
from unittest.mock import patch
|
||||
|
||||
import pytest
|
||||
|
||||
from homeassistant.components.switch.const import DOMAIN as SWITCH_DOMAIN
|
||||
|
@ -30,7 +32,9 @@ async def test_switch_entities(
|
|||
metrics = {metric_key: value}
|
||||
|
||||
# Act
|
||||
with patch_metrics(metrics=metrics):
|
||||
with patch_metrics(metrics=metrics), patch(
|
||||
"homeassistant.components.vallox.Vallox.set_settable_address"
|
||||
):
|
||||
await hass.config_entries.async_setup(mock_entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
|
||||
|
@ -56,7 +60,9 @@ async def test_bypass_lock_switch_entitity_set(
|
|||
) -> None:
|
||||
"""Test bypass lock switch set."""
|
||||
# Act
|
||||
with patch_metrics(metrics={}), patch_metrics_set() as metrics_set:
|
||||
with patch_metrics(metrics={}), patch_metrics_set() as metrics_set, patch(
|
||||
"homeassistant.components.vallox.Vallox.set_settable_address"
|
||||
):
|
||||
await hass.config_entries.async_setup(mock_entry.entry_id)
|
||||
await hass.async_block_till_done()
|
||||
await hass.services.async_call(
|
||||
|
|
Loading…
Add table
Reference in a new issue