Skip to content

Commit

Permalink
Fix __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
peribeir committed Nov 28, 2023
1 parent 3483810 commit 8f37ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custom_components/rademacher/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
api = HomePilotApi(
entry.data[CONF_HOST],
entry.data[CONF_PASSWORD] if CONF_PASSWORD in entry.data else "",
entry.data[CONF_API_VERSION],
entry.data[CONF_API_VERSION] if CONF_API_VERSION in entry.data else 1,
)
try:
manager = await HomePilotManager.async_build_manager(api)
Expand Down

0 comments on commit 8f37ac5

Please sign in to comment.