I have the exact same problem but with a cleverspa using the same API.
My binary_sensor.hottub_online shows as off and this is the same if I run a curl command outside HA
But my sensor.hottub_status shows
Heater: 0
Undercooling: 0
Current_temperature: 15
Filter: 1
Temperature_setup: 40
Superheat: 0
Bubble: 0
Overtime_filter: 1
Timing: 0
Check: 0
Time_filter: 10200
friendly_name: hottub_status
device_class: timestamp
And has a timestamp as the state
Could this be something to do with only able to register the tub on a single phone ?
If I run a curl command to switch on the bubbles for example
curl -X POST --header 'Content-Type: application/json' --header 'Accept: application/json' --header 'X-Gizwits-User-token: TOKEN' --header 'X-Gizwits-Application-Id: 805cc6a3f41b48aeae471e2fcb6ebc73' -d '{"attrs": {"bubble": 1} } ' 'https://api.gizwits.com/app/control/DID'
I get
{
"error_message": "device offline!",
"error_code": 9042,
"detail_message": null
}
But my phone is working fine which is where I got the DID, Token etc from.
EDIT - it was the tub, realised the app opens but couldn’t send any commands, maybe tub got confused whilst settings everything up don’t know.
Switched the tub off and back on and now all working.
Thank you Bruce for all the initial work and thank you musicman for the cleverspa specific bits.
Really appreciated