-
-
Notifications
You must be signed in to change notification settings - Fork 429
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
[automation] Added Actions for Play and Say which sets the volume #1854
Conversation
Signed-off-by: Christoph Weitkamp <[email protected]>
Hm, I am a bit scared of action proliferation by having dedicated types for every parameter combination. |
In general I tend to agree. Do you know if it will be backwards compatible regarding JSONDB / DTOs? I assume yes, because configuration parameters are a list. |
I'd strongly think so as an optional parameter should not be required and thus it should be fine to not have it in the db for older entries. But it might be safer, if you do a quick test of that assumption. |
I will do that. If it is working I will change this PR accordingly. And I will submit a minor patch for openhab/openhab-addons#9145 too. |
Signed-off-by: Christoph Weitkamp <[email protected]>
Works flawlessly. I updated this PR. |
...src/main/java/org/openhab/core/automation/module/media/internal/MediaActionTypeProvider.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks!
...src/main/java/org/openhab/core/automation/module/media/internal/MediaActionTypeProvider.java
Outdated
Show resolved
Hide resolved
…/org/openhab/core/automation/module/media/internal/MediaActionTypeProvider.java
…/org/openhab/core/automation/module/media/internal/MediaActionTypeProvider.java
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/say-action-in-openhab-3-using-js/110345/3 |
2 similar comments
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/say-action-in-openhab-3-using-js/110345/3 |
This pull request has been mentioned on openHAB Community. There might be relevant details there: https://community.openhab.org/t/say-action-in-openhab-3-using-js/110345/3 |
I think the Parameter "volume" is not working as it should. Using it with say and googletts in ECMA rules, the volume gets resetted immediately, before the message has finished. |
Yes, I agree. It is not working like a user expects. But I am afraid the framework is not able to handle it in a better way. The problem is we are living in an asynchronous world. The |
…enhab#1854) * Added Actions for Play and Say which sets the volume Signed-off-by: Christoph Weitkamp <[email protected]> GitOrigin-RevId: 0e7563c
Signed-off-by: Christoph Weitkamp [email protected]