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

Configflow #274

Merged
merged 2 commits into from
May 16, 2024
Merged

Configflow #274

merged 2 commits into from
May 16, 2024

Conversation

dvx76
Copy link
Member

@dvx76 dvx76 commented Apr 14, 2024

First commits are black formatting only and bumping the HA version. Actual fix is in the last commit so you probably want to focus on that while reviewing.

Fixes the following warning:

custom_components.skodaconnect.config_flow::SkodaConnectConfigFlow calls async_show_progress without passing a progress task, this is not valid and will break in Home Assistant Core 2024.8. Please report it to the custom integration author

Reference: https://developers.home-assistant.io/docs/data_entry_flow_index/

Tested configuration flow on HA Core 2024.4.3. No more warning and can pass configuration.

Fixes #268

@dvx76 dvx76 requested review from WebSpider and Farfar April 14, 2024 18:23
dvx76 added 2 commits May 16, 2024 20:24
```
custom_components.skodaconnect.config_flow::SkodaConnectConfigFlow calls async_show_progress without passing a progress task, this is not valid and will break in Home Assistant Core 2024.8. Please report it to the custom integration author
```

Fixes skodaconnect#268
@WebSpider
Copy link
Contributor

Lgtm, also, let's add black to the pre-commit config.

Copy link
Contributor

@WebSpider WebSpider left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@Farfar
Copy link
Collaborator

Farfar commented May 16, 2024

Looking good!

@dvx76 dvx76 merged commit 9df9927 into skodaconnect:main May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SkodaConnectConfigFlow calls async_show_progress - Will break with Home assistant 2024.8
3 participants