A very simple thing that is apparently stumping my agent.
I have a sleep number bed with a “head position” entity, which is a Number.
I’ve tried many ways to try to get Assist to set it, using Claude Sonnet 4.6. Each time I get some variation on it being unable to set this entity value.
“ I don’t have a tool to directly set the head position number or
select a specific preset value. You’ll need to set “SleepNumber
Head Position” to 0 manually in the Home Assistant app — the
foot is already flat at 0.”
It’s “number.sleepnumber_tristan_head_position” — a script seems like a decent idea, but I’m also kind of asking generically for Assist — is setting numbers something that is intentionally left out, or would it be useful for an agent to be able to set any number entity generally?
If I made a script I would likely make one that took an entity and a number and just called the state change for anything. I’m curious why this doesn’t work out of the box…
Oh sorry, I do see the SleepIQ integration. If you go to the device are you able to change that number value from the device info page? If not then it’s just information and can’t be changed by the user. Sorta like an energy monitoring outlet it just display how much power is being used but you can’t set how much, kinda thing. If you can change it in HA, maybe try giving the number.sleepnumber_tristan_head_position an alias then try having Assist change that alias to a given number.
Maybe it’s an alias thing? Like what Assist is trying to change is something it can’t change but if you had the alias as something totally different? Maybe also try a Sentence automation to set it to a specific number? Can Assist change an input_number value? If it can you could make a script that changes the number.sleepnumber_tristan_head_position to the input_number when the input_number is changed. I’m probably not being too helpful, sorry. Hope you get it working.
I just tried to set a input_number with Assist, it didn’t work even with different aliases set. I made a Sentence Automation (Conversation trigger) to set the input_number and it worked. Depending on how many “head positions” options you have you could just make a conversation trigger for each position. Shouldn’t have to do the input_number then, it’s just what I had to test with. Hope this helps.
Sounds like there’s no intent for that. Not sure I made a tool for number and input number a while ago. I’ll have to check if they did a builtin. That said. You already found the solution either make an automation with a sentence trigger or a tool of you are using an LLM. Inwas considering including the number setter tool in my Zenos project - sounds like I need to.