Closed jasperro closed 4 years ago
In the latest tado beta app a override switch was added to change presence state manually, even when auto assist is not enabled. This app uses presenceLock instead of presence as the command.
Try curl -s "https://my.tado.com/api/v2/homes/123456/presenceLock" -H "Authorization: Bearer auth_token" -X PUT -H 'Content-Type: application/json;charset=utf-8' --data '{"homePresence":"AWAY"}'
I have only tested the curl command, not the change to PyTado.
I have tested it now in home assistant and everything works. I think it's ready to merge.
In the latest tado beta app a override switch was added to change presence state manually, even when auto assist is not enabled. This app uses presenceLock instead of presence as the command.
Try curl -s "https://my.tado.com/api/v2/homes/123456/presenceLock" -H "Authorization: Bearer auth_token" -X PUT -H 'Content-Type: application/json;charset=utf-8' --data '{"homePresence":"AWAY"}'
I have only tested the curl command, not the change to PyTado.