mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 00:37:53 +00:00
Bump pyControl4 to 1.1.0 (#90115)
* Bump pyControl4 to 1.1.0 * Remove mock token_expiration from control4
This commit is contained in:
parent
cb578c71e0
commit
e290febb38
@ -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"
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user