Repository navigation
Description
Current status (17 October 2026)
Cloud alias text/action implementation, strict name validation, stable entity/device IDs and HA user-name override tests are delivered. A temporary live rename appeared in refreshed discovery and was restored. validate_alias.py provides independently supplied phone-app comparison and roundtrips. Broader HA/device acceptance remains in #42.
Delivered: implementation/contracts and dedicated validation tooling. PR #43 consolidates the fixes, 666 passing tests on HA 2026.10.1/2026.3.0, strict mypy/Ruff and the coverage guide. This implementation ticket closes on merge; outstanding external acceptance is explicitly retained in #42, with #21/#22/#41 covering their separate work. Closing this ticket does not certify unperformed physical/app tests.
Historical audit and earlier development notes
A set_alias endpoint exists internally, but the integration has no exposed operation for changing the NOTTY cloud name. Renaming a Home Assistant registry entry alone does not update the cloud alias.
APK evidence
view/tabs/device/device_setting/alias/alias_controller.dart, AliasController::sureAlias, selects /device/set_alias at 0xcc190c.
Evidence source: NOTTY Smart Pet 1.1.30, SHA-256 3b6dc21037f2802e92233ecd9f685e76b03a79afa2d82dd52a5dfcd689a18e6a, decoded locally with Blutter. These are inspected request-construction paths, not just URL-string matches. Decoded app files and private captures remain outside the public repository.
Integration baseline
api.py at commit 9b1b7c3.
Acceptance criteria
- Trace required alias/device fields, input limits and response behavior.
- Expose a documented configuration text entity or explicit action scoped to the physical device.
- Refresh reported cloud naming without overwriting a user's separate Home Assistant display-name override.
- Test validation, request serialization and consistent identity after a rename.
Validation boundary
This is missing integration functionality backed by an app code path. Exact schemas, model support and live behavior still need verification before exposing writes.
No hardware actions or cloud-setting changes were performed while creating this issue.
Live API update (2026-10-17)
A temporary owner-authorized cloud alias change appeared in refreshed API discovery, and the original alias was restored with matching readback. Phone-app agreement and HA registry-name/override behavior still need separate observations. Separate scripts, private evidence and app-comparison templates are provided in PR #40. Raw captures remain ignored and private. No empty or motor command was sent.
Activity