Repository navigation
Description
Current status (17 October 2026)
The Auto-only 1–15 minute configuration select/action and bounds tests are implemented; validate_settings.py provides explicit before/after and supported restoration. The owner device currently reports auto_delay=0. Its meaning must be checked in the app before a restorable write test; this acceptance task is preserved 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
LITTER_ACTION_ENDPOINTS contains set_auto_delay, but no Home Assistant number/select entity exposes it and it is absent from SAFE_LITTER_ACTIONS / the public action schema.
APK evidence
view/tabs/device/device_setting/setting/setting_controller.dart, SettingController::delayMode, selects /device/litter_box/set_auto_delay at 0xcd4b0c.
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 the app's field names, units, range, mode restrictions and value encoding.
- Expose a suitable configuration entity and readback using the verified contract.
- Preserve stable unique IDs and show unknown/unavailable state honestly.
- Add synthetic tests for bounds, units, request payload and refresh; verify the setting with a compatible device.
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.
Activity