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

Values for custom config parameters only show up after reloading the page #52

Open
AlCalzone opened this issue Dec 4, 2024 · 4 comments · Fixed by home-assistant/frontend#23244 · May be fixed by home-assistant/frontend#24317
Assignees
Labels
frontend This bug or request (primary) involves the Home Assistant frontend zwave-certification Required for Z-Wave certification

Comments

@AlCalzone
Copy link
Member

During the CTT tests, a device is tested where existing config parameters cannot be determined automatically (Configuration CC V1 or 2).

I pressed GET VALUE here, the command was sent, but there was not visual feedback.

The highlighted section only showed up after reloading the page:
grafik

This should happen automatically, since it is a certification requirement:

Verify that the DUT offers a UI which allows the end user to see the parameter numbers which has been set (parameter number = 1) and their current value according to Requirement Number: CL:0070.03.41.01.1

@AlCalzone AlCalzone added frontend This bug or request (primary) involves the Home Assistant frontend zwave-certification Required for Z-Wave certification labels Dec 4, 2024
@AlCalzone
Copy link
Member Author

Also, GET VALUE clears the Value input - I'd at least expect it to show the received value.

@AlCalzone
Copy link
Member Author

The fix for showing the value here after SET does not appear to be working:

Image

If the parameter wasn't known initially, it still only appears after reloading the page.

@AlCalzone AlCalzone reopened this Feb 14, 2025
@AlCalzone AlCalzone moved this from Done/verify to Triage in Z-Wave JS: Road to Certification Feb 14, 2025
@MindFreeze
Copy link
Collaborator

Could this be caused by delayed reporting of the new param? On the frontend, after a get/set, we call the same "zwave_js/get_config_parameters" WS API as on load.

@AlCalzone
Copy link
Member Author

Might be. The driver sends the command to set it, then verifies the change. There should be a value added (or maybe value updated) event once the change was verified. Maybe it would be better to listen for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
frontend This bug or request (primary) involves the Home Assistant frontend zwave-certification Required for Z-Wave certification
Projects
Status: Triage
2 participants