Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump aiovodafone to 0.1.0 #99851

Merged
merged 2 commits into from Sep 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions homeassistant/components/vodafone_station/coordinator.py
Expand Up @@ -112,9 +112,9 @@ async def _async_update_data(self) -> 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)

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/vodafone_station/manifest.json
Expand Up @@ -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"]
}
2 changes: 1 addition & 1 deletion requirements_all.txt
Expand Up @@ -370,7 +370,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
Expand Down
2 changes: 1 addition & 1 deletion requirements_test_all.txt
Expand Up @@ -345,7 +345,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
Expand Down
4 changes: 2 additions & 2 deletions tests/components/vodafone_station/test_config_flow.py
Expand Up @@ -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|;",
Expand Down Expand Up @@ -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|;",
Expand Down