Any idea how can I move the script from Configuration.yaml and create the Script in Helpers directly?
Scripts canât be created in Helpers⌠they can be set up using the Script editor⌠is that what you are asking or did you mean the Template sensor?
Yes, I apologize. I meant the Template Sensor.
Also, thank you very much for your guidance on this.
The first thing to do is to delete the sensor configuration from configuration.yaml
, then restart HA.
In the Template Sensor Helper editor fill in the âName*â field and paste the State template in the field marked âState template*â⌠leave all the other fields empty.
For sensor.alexa_selector
it should look something like:
Trying everything, but still getting this error on commands:
Failed to perform the action script/send_alexa_command. not a valid value for dictionary value @ data[âentity_idâ]
And no sounds on announcements.
Is the sensor showing a state?
What does the scriptâs debug trace show?
Ok, I almost got it!
The issue was in the Sensor. It was showing media_player.media_player.âxxxâ. Deleted the media_player. from the echo_select options and now I have sound.
Except - all itâs saying is âUnknownâ on any text or command.
Is your missing Entity ID solution still the case if the sound coming out of the device selected is just saying âunknownâ on requests?
Check the state of the input text.
How do I check that?
Find your input text entity, click it, and you should get a pop-up like:
The current state can be found in the box where the cursor is and it says âtestingâ in the example above.
Got it! I was missing the Input Text Integration. I had the HACS : Lovelace Text Input Row installed, but added the native one and updated the scripts and cards accordingly.
Works now! Thanks!