-
Hi, I'm creating my first function and I'm getting the function to work and return a value however the value returned contains a / (slash) instead of a '.' I'm guessing that I need to escape it somewhere but I'm not familiar with doing that so I need some guidance please!
called by
where the parameter passed is 'media_player.study' for example, and the console log reads
which is the desired outcome. But, I get the following error in HA... Failed to call service script/ents_study. Service not found. I'm sure it's easy if you know but it's been puzzling me for long enough that I have to give in and ask for help!! Thanks, Matt |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
No that is what HA shows as I recall. Are you sure you have a script called |
Beta Was this translation helpful? Give feedback.
No that is what HA shows as I recall. Are you sure you have a script called
script.ents_study