-
-
Notifications
You must be signed in to change notification settings - Fork 32
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
AI Motion description (automation.ai_motion_description) has an unknown action #121
Comments
There is a bug right now that occurs when the entity_id of the phone contains "invalid characters". This post in the forum might help: https://community.home-assistant.io/t/camera-frigate-intelligent-ai-powered-notifications/785335/87?u=valentinfrlch. |
I've submitted a pull request to adjust the blueprint. It is tested and working on my HA instance. |
How much is this really fixed? It seems to fix the issue around using ' (apostrophe) but not 'special characters'? If you e.g. have special characters like é or æøå it does not work still as I see it. Should this be handled as a new bug? My phone is called 'Sørens iPhone', that is translated into 'srens_iphone' and not 'sorens_iphone': Error: Action notify.mobile_app_srens_iphone not found |
Just googling jinja, it looks like if you add on
Maybe you could try that out? To alter the blueprint, open it in either 'file editor' (if you have that add-on), or use the samba add-on to access it remotely. The path to that file is |
Thanks for the suggestion. As a first step I just tried this in the developer tools for Templates:
But I get "TemplateAssertionError: No filter named 'unidecode'." - so apparently this is not included. BTW a workaround for me personally is this - but obviously not a good general solution :-)
|
Some more in-depth google searching pointed me to the templating documentation for HA, and in there I found
Result:
I bet that we could clean up some of the rest of that regex replace with that function too. I am busy for the new year, but I can take a look later this week if no one else can. (edit: changed example to |
Thank you, this seems exactly what we need! I think the HA dev docs mentioned "slugify" at some point, but I didn't know that there was a Jinja filter too. I'll take a look at it tomorrow. |
…n.ai_motion_description) has an unknown action #121)
It seems to work! I pushed it to main. @sorenbache if you could test and give feedback, that'd be amazing! |
Seems to work just fine! Thanks. |
AI Motion description (automation.ai_motion_description) has an unknown action
Bug Description
I setup the blueprint to try to notify on my cell, and it is giving me this error whenever it triggers
I'm only able to select "Mike's Cell Receiver 2023" from the notify devices drop down
Version: 1.3.1
Service Call
Logs
From the general Logs (not debug enabled):
Additional context
I tried to change the
notify_device
to the value that I use in my other automations (mobile_app_mike_s_cell_receiver_2023
), but that didn't seem to work either. Also, when I returned to edit the blueprint, it blanked out the drop down when I tried that value.The text was updated successfully, but these errors were encountered: