parent
7dc7060825
commit
d50f9f4e51
|
@ -112,9 +112,9 @@ class VodafoneStationRouter(DataUpdateCoordinator[UpdateCoordinatorDataType]):
|
|||
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()
|
||||
return UpdateCoordinatorDataType(data_devices, data_sensors)
|
||||
|
||||
|
|
|
@ -6,5 +6,5 @@
|
|||
"documentation": "https://www.home-assistant.io/integrations/vodafone_station",
|
||||
"iot_class": "local_polling",
|
||||
"loggers": ["aiovodafone"],
|
||||
"requirements": ["aiovodafone==0.0.6"]
|
||||
"requirements": ["aiovodafone==0.1.0"]
|
||||
}
|
||||
|
|
|
@ -369,7 +369,7 @@ aiounifi==61
|
|||
aiovlc==0.1.0
|
||||
|
||||
# homeassistant.components.vodafone_station
|
||||
aiovodafone==0.0.6
|
||||
aiovodafone==0.1.0
|
||||
|
||||
# homeassistant.components.waqi
|
||||
aiowaqi==0.2.1
|
||||
|
|
|
@ -344,7 +344,7 @@ aiounifi==61
|
|||
aiovlc==0.1.0
|
||||
|
||||
# homeassistant.components.vodafone_station
|
||||
aiovodafone==0.0.6
|
||||
aiovodafone==0.1.0
|
||||
|
||||
# homeassistant.components.watttime
|
||||
aiowatttime==0.1.1
|
||||
|
|
|
@ -78,7 +78,7 @@ async def test_exception_connection(hass: HomeAssistant, side_effect, error) ->
|
|||
|
||||
# Should be recoverable after hits error
|
||||
with patch(
|
||||
"homeassistant.components.vodafone_station.config_flow.VodafoneStationApi.get_all_devices",
|
||||
"homeassistant.components.vodafone_station.config_flow.VodafoneStationApi.get_devices_data",
|
||||
return_value={
|
||||
"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|;",
|
||||
|
@ -191,7 +191,7 @@ async def test_reauth_not_successful(hass: HomeAssistant, side_effect, error) ->
|
|||
|
||||
# Should be recoverable after hits error
|
||||
with patch(
|
||||
"homeassistant.components.vodafone_station.config_flow.VodafoneStationApi.get_all_devices",
|
||||
"homeassistant.components.vodafone_station.config_flow.VodafoneStationApi.get_devices_data",
|
||||
return_value={
|
||||
"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|;",
|
||||
|
|
Loading…
Reference in New Issue