Skip to content

Commit

Permalink
fix setup
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarv committed Dec 3, 2023
1 parent 5f1e0b8 commit 28370f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/bwt_perla/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ async def validate_input(hass: HomeAssistant, data: dict[str, Any]) -> dict[str,
Data has the keys from STEP_USER_DATA_SCHEMA with values provided by the user.
"""
with BwtApi(data[CONF_HOST], data[CONF_CODE]) as api:
async with BwtApi(data[CONF_HOST], data[CONF_CODE]) as api:
await api.get_current_data()

# Return info that you want to store in the config entry.
Expand Down

0 comments on commit 28370f8

Please sign in to comment.