-
Notifications
You must be signed in to change notification settings - Fork 0
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
Z-Wave JS: Certification requirements for Sound Switch CC not fulfilled #16
Comments
I believe I once wrote an architecture proposal for the siren platform, based on this Soundswitch CC and only the on/off feature has been implemented so far. Imo we should extend the siren platform as these feature are not unique to Z-Wave but also exist for zigbee/wifi sirens/chimes. |
Fix the "Play Tone" so its always stateless (shows both start and stop) |
Would it be enough to change the default tone and turn on the siren to fullfil the "play a selected tone"? |
No, the specific play command is expected. Also it could be unexpected if playing a different tone once changes the default tone. |
I think this needs a selector from available tones, in the siren card in the frontend to enable passing the selected tone in the service call to The available tones are part of the state attributes, so all data should exist already for the frontend to build this. https://developers.home-assistant.io/docs/core/entity/siren#properties |
@MartinHjelmare so you are basically proposing that we can allow a "tone" argument to the "turn_on" action for a siren then ? Which basically means "turn on using sound X" ? OK, me being blind; I see we already have that but just the frontend is missing the selector. |
Yes, exactly. It should just be a frontend improvement of the turn on feature for all sirens that support tones. |
attached dump file to use in the mock server |
Test passed 🥳 |
The UI for siren control doesn't seem to allow selecting a specific tone, but it shows a weird dropdown with some attributes:
Diagnostics information
zwave_js-f0926e113c178046d0d249fcdc42964a-Node 65-69bfeb31c9b5eca03be46337ae416f51.json.txt
The text was updated successfully, but these errors were encountered: