I’m trying to create switch entity for Ouman-EH800 valve. Switch is not workin in UI but sensor showing the state shows right state with same curl commands. Please review my yaml code if you can spot where it fails?
If I explore this from browsers dev tools when using Ouman’s own web interface I can see that it sends two values. I tried to add this 222_85 value to the curl command, but it didn’t help.
qyery parameters from dev tools
Also tried to fetch the command_state from register 222_85 but no effect.
response for update query from dev tools
In Home Assistant UI shows the switch but if I turn it on it changes back to off in a while. Another sensor entity showing the state of the value works (in the screenshot “kotona” means “At home”)
Sorry, bad phrase. I have another sensor (also command_line) which shows the current state of the “switch”. It works, if I change the state from Ouman web interface it shows new state. But Home Assistant UI Switch based on that command_line switch cannot change the state.