diff --git a/homeassistant/components/insteon/manifest.json b/homeassistant/components/insteon/manifest.json index cc8495384b1..ad3fb7bfbe8 100644 --- a/homeassistant/components/insteon/manifest.json +++ b/homeassistant/components/insteon/manifest.json @@ -17,7 +17,7 @@ "iot_class": "local_push", "loggers": ["pyinsteon", "pypubsub"], "requirements": [ - "pyinsteon==1.4.2", + "pyinsteon==1.4.3", "insteon-frontend-home-assistant==0.3.5" ], "usb": [ diff --git a/requirements_all.txt b/requirements_all.txt index b3676bbb88a..4deee264855 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1724,7 +1724,7 @@ pyialarm==2.2.0 pyicloud==1.0.0 # homeassistant.components.insteon -pyinsteon==1.4.2 +pyinsteon==1.4.3 # homeassistant.components.intesishome pyintesishome==1.8.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index e146450b7d9..4b75eaf815d 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1270,7 +1270,7 @@ pyialarm==2.2.0 pyicloud==1.0.0 # homeassistant.components.insteon -pyinsteon==1.4.2 +pyinsteon==1.4.3 # homeassistant.components.ipma pyipma==3.0.6 diff --git a/tests/components/insteon/mock_devices.py b/tests/components/insteon/mock_devices.py index dd0ab0b56a0..dea9fb4e34f 100644 --- a/tests/components/insteon/mock_devices.py +++ b/tests/components/insteon/mock_devices.py @@ -151,11 +151,11 @@ class MockDevices: for flag in operating_flags: value = operating_flags[flag] if device.operating_flags.get(flag): - device.operating_flags[flag].load(value) + device.operating_flags[flag].set_value(value) for flag in properties: value = properties[flag] if device.properties.get(flag): - device.properties[flag].load(value) + device.properties[flag].set_value(value) async def async_add_device(self, address=None, multiple=False): """Mock the async_add_device method.""" diff --git a/tests/components/insteon/test_api_properties.py b/tests/components/insteon/test_api_properties.py index a667e2144d0..850ccc85411 100644 --- a/tests/components/insteon/test_api_properties.py +++ b/tests/components/insteon/test_api_properties.py @@ -119,7 +119,7 @@ async def test_get_read_only_properties( mock_read_only = ExtendedProperty( "44.44.44", "mock_read_only", bool, is_read_only=True ) - mock_read_only.load(False) + mock_read_only.set_value(False) ws_client, devices = await _setup( hass, hass_ws_client, "44.44.44", iolinc_properties_data @@ -368,7 +368,7 @@ async def test_change_float_property( ) device = devices["44.44.44"] delay_prop = device.configuration[MOMENTARY_DELAY] - delay_prop.load(0) + delay_prop.set_value(0) with patch.object(insteon.api.properties, "devices", devices): await ws_client.send_json( {