I have a atom mic in the office, and ESP’s in each room to detect who is where in the house, works beautifully with sending the position of people to their own sensor, for example I am.
sensor.andrewcl
Which plays “Andrew is in the office.” Over the office display.
And I have lots of automations that play where someone is over the speaker, using…
No worries, using the code above, I press the button on the atom and say “Where is Andrew” for example and the atom replies “done” also when I bring up assist on the dashboard I get the same thing.
Press the button on the atom and ask “where is Andrew” I get the reply “Andrew is in the office” on the dinning room display.
It’s not a huge deal breaker as there are only 5 of us in the house so I can just do an automation for each person, just thought it would be a good use of the new wildcards.
Ok, that seems to be a step forward, now the dining room display is kicking in, but it is saying “unknow.” instead of what the sensor is reading, but I will have a play and see if I can move forward.
Hi there, so a slightly interesting update, yes the trigger bit was needed, but the unknow reply is being caused by the question mark Assist adds to the question. Let me break it down…
If I ask, either the Atom mic, or assist on my phone where is Andrew, it comes up as where is Andrew?
I then get a the reply unknown, and that is right as Andrew? is unknown.
If I type into assist where is Andrew with no question mark, it works perfectly.
So is there a way to strip the question mark out of the trigger slot? I know in php I can trim 1 character, is there an equivalent here?