-
Notifications
You must be signed in to change notification settings - Fork 118
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
Unable to add scripts on Actions #945
Comments
I took a look into this. My finding was that this issue only occurs in case you have a script that is later renamed. As a result the entity_id of the script could be different to the service that is related, Alarmo is unable to find it back. |
As I have the same issue, I researched this and it seems to bee a core issue: The change you've made in b454170 is a breaking change, as it changes the behaviour of how the scripts are started, if more than one is defined: But there is a workaround to fix you scripts service name: |
@DJaeger Thanks for your comment, I'm glad that you pointed out this is a core issue (which hopefully will get some attention soon).
I don't quite follow your point here. service: script.my_new_entity_name
entity_id: script.my_new_entity_name
data: {} and after the change: service: script.my_original_entity_name
entity_id: script.my_original_entity_name
data: {} Effectively, Alarmo no longer looks at the entity list to find scripts (and their IDs) but takes them from the service list. |
@raedkit The fix is now included in release v1.10.2, please update to the latest version and test if it works OK for you now. |
@nielsfaber Your're right, I overlooked an exclamation mark and misunderstood it, sorry. |
Thank you for the fix. I will test it this weekend and will let you know. |
Alarmo Version
v1.10.1
HA Version
2024.5.3
Bug description
On this version of Alarmo I'm unable to add any script on actions for when alarmo is triggered. I have always an error : required key 'service' is missing even if it really exists the YAML
Steps to reproduce
Relevant log output
No response
The text was updated successfully, but these errors were encountered: