So on the thermostat, it is possible to turn on a lock (it’s meant as a child lock or a lock to prevent guests from messing with your thermostat). This lock is a 4 digit pin. Through the app, you can unlock this as mentioned here: https://nest.com/ca/support/article/How-can-I-lock-Nest-so-that-it-can-only-be-adjusted-within-a-certain-temperature-range#unlockapp
I am wondering if there is an API call that I can use to do this? I can’t find anything in the documentation but the fact that the app is able to do this makes me think there probably is an API call.