diff --git a/homeassistant/components/control4/manifest.json b/homeassistant/components/control4/manifest.json index 125e3c2e38f..765f0dce78c 100644 --- a/homeassistant/components/control4/manifest.json +++ b/homeassistant/components/control4/manifest.json @@ -6,7 +6,7 @@ "documentation": "https://www.home-assistant.io/integrations/control4", "iot_class": "local_polling", "loggers": ["pyControl4"], - "requirements": ["pyControl4==0.0.6"], + "requirements": ["pyControl4==1.1.0"], "ssdp": [ { "st": "c4:director" diff --git a/requirements_all.txt b/requirements_all.txt index 34e47076074..7d1670833f2 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1457,7 +1457,7 @@ py17track==2021.12.2 pyCEC==0.5.2 # homeassistant.components.control4 -pyControl4==0.0.6 +pyControl4==1.1.0 # homeassistant.components.met_eireann pyMetEireann==2021.8.0 diff --git a/requirements_test_all.txt b/requirements_test_all.txt index fbc282040f3..3bb56a1be49 100644 --- a/requirements_test_all.txt +++ b/requirements_test_all.txt @@ -1066,7 +1066,7 @@ py17track==2021.12.2 pyCEC==0.5.2 # homeassistant.components.control4 -pyControl4==0.0.6 +pyControl4==1.1.0 # homeassistant.components.met_eireann pyMetEireann==2021.8.0 diff --git a/tests/components/control4/test_config_flow.py b/tests/components/control4/test_config_flow.py index a40047eccd1..4909ead6c48 100644 --- a/tests/components/control4/test_config_flow.py +++ b/tests/components/control4/test_config_flow.py @@ -1,5 +1,4 @@ """Test the Control4 config flow.""" -import datetime from unittest.mock import AsyncMock, patch from pyControl4.account import C4Account @@ -25,10 +24,7 @@ def _get_mock_c4_account( "href": "https://apis.control4.com/account/v3/rest/accounts/000000", "name": "Name", }, - getDirectorBearerToken={ - "token": "token", - "token_expiration": datetime.datetime(2020, 7, 15, 13, 50, 15, 26940), - }, + getDirectorBearerToken={"token": "token"}, ): c4_account_mock = AsyncMock(C4Account)