mirror of
https://github.com/home-assistant/core.git
synced 2025-07-14 08:47:10 +00:00
Bump aiovodafone to 0.1.0 (#99851)
* bump aiovodafone to 0.1.0 * fix tests
This commit is contained in:
parent
9d5595fd7d
commit
a82cd48282
@ -112,9 +112,9 @@ class VodafoneStationRouter(DataUpdateCoordinator[UpdateCoordinatorDataType]):
|
|||||||
dev_info, utc_point_in_time
|
dev_info, utc_point_in_time
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
for dev_info in (await self.api.get_all_devices()).values()
|
for dev_info in (await self.api.get_devices_data()).values()
|
||||||
}
|
}
|
||||||
data_sensors = await self.api.get_user_data()
|
data_sensors = await self.api.get_sensor_data()
|
||||||
await self.api.logout()
|
await self.api.logout()
|
||||||
return UpdateCoordinatorDataType(data_devices, data_sensors)
|
return UpdateCoordinatorDataType(data_devices, data_sensors)
|
||||||
|
|
||||||
|
@ -6,5 +6,5 @@
|
|||||||
"documentation": "https://www.home-assistant.io/integrations/vodafone_station",
|
"documentation": "https://www.home-assistant.io/integrations/vodafone_station",
|
||||||
"iot_class": "local_polling",
|
"iot_class": "local_polling",
|
||||||
"loggers": ["aiovodafone"],
|
"loggers": ["aiovodafone"],
|
||||||
"requirements": ["aiovodafone==0.0.6"]
|
"requirements": ["aiovodafone==0.1.0"]
|
||||||
}
|
}
|
||||||
|
@ -370,7 +370,7 @@ aiounifi==61
|
|||||||
aiovlc==0.1.0
|
aiovlc==0.1.0
|
||||||
|
|
||||||
# homeassistant.components.vodafone_station
|
# homeassistant.components.vodafone_station
|
||||||
aiovodafone==0.0.6
|
aiovodafone==0.1.0
|
||||||
|
|
||||||
# homeassistant.components.waqi
|
# homeassistant.components.waqi
|
||||||
aiowaqi==0.2.1
|
aiowaqi==0.2.1
|
||||||
|
@ -345,7 +345,7 @@ aiounifi==61
|
|||||||
aiovlc==0.1.0
|
aiovlc==0.1.0
|
||||||
|
|
||||||
# homeassistant.components.vodafone_station
|
# homeassistant.components.vodafone_station
|
||||||
aiovodafone==0.0.6
|
aiovodafone==0.1.0
|
||||||
|
|
||||||
# homeassistant.components.watttime
|
# homeassistant.components.watttime
|
||||||
aiowatttime==0.1.1
|
aiowatttime==0.1.1
|
||||||
|
@ -78,7 +78,7 @@ async def test_exception_connection(hass: HomeAssistant, side_effect, error) ->
|
|||||||
|
|
||||||
# Should be recoverable after hits error
|
# Should be recoverable after hits error
|
||||||
with patch(
|
with patch(
|
||||||
"homeassistant.components.vodafone_station.config_flow.VodafoneStationApi.get_all_devices",
|
"homeassistant.components.vodafone_station.config_flow.VodafoneStationApi.get_devices_data",
|
||||||
return_value={
|
return_value={
|
||||||
"wifi_user": "on|laptop|device-1|xx:xx:xx:xx:xx:xx|192.168.100.1||2.4G",
|
"wifi_user": "on|laptop|device-1|xx:xx:xx:xx:xx:xx|192.168.100.1||2.4G",
|
||||||
"ethernet": "laptop|device-2|yy:yy:yy:yy:yy:yy|192.168.100.2|;",
|
"ethernet": "laptop|device-2|yy:yy:yy:yy:yy:yy|192.168.100.2|;",
|
||||||
@ -191,7 +191,7 @@ async def test_reauth_not_successful(hass: HomeAssistant, side_effect, error) ->
|
|||||||
|
|
||||||
# Should be recoverable after hits error
|
# Should be recoverable after hits error
|
||||||
with patch(
|
with patch(
|
||||||
"homeassistant.components.vodafone_station.config_flow.VodafoneStationApi.get_all_devices",
|
"homeassistant.components.vodafone_station.config_flow.VodafoneStationApi.get_devices_data",
|
||||||
return_value={
|
return_value={
|
||||||
"wifi_user": "on|laptop|device-1|xx:xx:xx:xx:xx:xx|192.168.100.1||2.4G",
|
"wifi_user": "on|laptop|device-1|xx:xx:xx:xx:xx:xx|192.168.100.1||2.4G",
|
||||||
"ethernet": "laptop|device-2|yy:yy:yy:yy:yy:yy|192.168.100.2|;",
|
"ethernet": "laptop|device-2|yy:yy:yy:yy:yy:yy|192.168.100.2|;",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user