Skip to content

Commit

Permalink
fix: config flow fix (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
geertmeersman authored Nov 25, 2023
2 parents 0933d3b + 82103dd commit bdd2790
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 17 deletions.
1 change: 1 addition & 0 deletions .github/workflows/bump_version_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ jobs:
run: |
cd custom_components/${{ github.event.repository.name }}
zip -r "${{ github.event.repository.name }}.zip" .
mv "${{ github.event.repository.name }}.zip" ../..
- name: 📎 Upload zip file to release
uses: actions/upload-artifact@v3
Expand Down
2 changes: 1 addition & 1 deletion custom_components/nexxtmove/config_flow.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ async def async_step_init(
) -> FlowResult:
"""Manage Nexxtmove options."""
return self.async_show_menu(
step_id="options_init",
step_id="init",
menu_options=[
"password",
],
Expand Down
9 changes: 1 addition & 8 deletions custom_components/nexxtmove/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,14 @@
},
"options": {
"step": {
"init": {
"title": "Reconfigure Nexxtmove",
"data": {
"username": "Username",
"password": "Password"
}
},
"password": {
"title": "Update your password",
"description": "To do when you changed your password on 'Nexxtmove'",
"data": {
"password": "Password"
}
},
"options_init": {
"init": {
"title": "Change options",
"menu_options": {
"password": "Password"
Expand Down
9 changes: 1 addition & 8 deletions custom_components/nexxtmove/translations/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,14 @@
},
"options": {
"step": {
"init": {
"title": "Herconfigureer Nexxtmove",
"data": {
"username": "Gebruiker",
"password": "Wachtwoord"
}
},
"password": {
"title": "Pas je wachtwoord aan",
"description": "Te doen wanneer je je account wachtwoord gewijzigd hebt op 'Nexxtmove'",
"data": {
"password": "Wachtwoord"
}
},
"options_init": {
"init": {
"title": "Opties wijzigen",
"menu_options": {
"password": "Wachtwoord"
Expand Down

0 comments on commit bdd2790

Please sign in to comment.