Skip to content

Commit 18d5054

Browse files
committed
Fix help link target and options-flow back navigation
- manifest documentation/issue_tracker now point to kapilmahawar/realme-scale-ha (was oliexdev/openScale) - add async_step_menu handler so Back from options sub-steps no longer surfaces not_implemented
1 parent 9bcc156 commit 18d5054

3 files changed

Lines changed: 19 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
- Repository branding: realme logo added as `icon.png`/`logo.png`.
1212
- README: AI-use disclosure and contributor credits (DeepSeek).
1313

14+
### Fixed
15+
- Integration **Help** link now points to this repository's documentation
16+
(was the upstream openScale repo).
17+
- Options-flow **Back** navigation no longer raises `not_implemented`
18+
(missing `async_step_menu` handler for the menu step).
19+
1420
## [0.4.0] - 2026-09-07
1521

1622
### Added

custom_components/realme_scale/config_flow.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,17 @@ async def async_step_init(
443443
},
444444
)
445445

446+
async def async_step_menu(
447+
self, user_input: dict[str, Any] | None = None
448+
) -> ConfigFlowResult:
449+
"""Re-render the menu when the user navigates back to it.
450+
451+
Home Assistant re-enters the flow at the last *shown* step when the
452+
Back button is pressed; ``async_step_init`` registered the menu under
453+
the step id ``menu``, so a handler with that name must exist.
454+
"""
455+
return await self.async_step_init(user_input)
456+
446457
# -- add / edit / remove users ----------------------------------------
447458

448459
async def async_step_add_user(

custom_components/realme_scale/manifest.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"codeowners": [],
55
"config_flow": true,
66
"dependencies": ["bluetooth"],
7-
"documentation": "https://github.com/oliexdev/openScale",
7+
"documentation": "https://github.com/kapilmahawar/realme-scale-ha",
8+
"issue_tracker": "https://github.com/kapilmahawar/realme-scale-ha/issues",
89
"iot_class": "local_push",
910
"integration_type": "device",
1011
"version": "0.4.0",

0 commit comments

Comments
 (0)