I have a question, I had to reinstall my hassio installation recently. So obviously I lost my nest thermostat integration. I have saved config and storage files. Is there a way to add this back in. I have tried to add the nest information back in my storage files but I’m doing something wrong because hassio will not reload after doing so.
I can’t access the pin as requested from the ui for obvious reasons.
You can try copying the entry from the old .storage/core.config_entries file into the new one, but you have to be careful how you do it. The file is JSON formatted, so you have to copy it into the correct place, and you have to be careful about whether or not the entry should end with a comma. (Basically, if you put it at the end then it should not have a comma at the end. And if there are any other entries after it then it should have a comma.) So…
{
"data": {
"entries": [
{
"connection_class": "cloud_push",
"data": {
"impl_domain": "nest",
"tokens": {
"access_token": "REDACTED",
"expires_in": 315360000
}
},
"domain": "nest",
"entry_id": "7aec0ca1587246ea8d822fb23588a773",
"options": {},
"source": "user",
"title": "Nest (via configuration.yaml)",
"version": 1
}, <== REMOVE THIS COMMA IF THIS IS THE LAST ENTRY IN THE LIST
OR ADD A COMMA IF IT IS NOT THE LAST ENTRY AND THERE'S NO COMMA
]
},
"key": "core.config_entries",
"version": 1
}
I’m not sure about the other Nest related entries from the other files in the .storage folder. That may be enough for it to discover everything again. (I’d try just that and see how it goes.) If not then you may need to copy the Nest related entries from .storage/core.device_registry, and maybe even .storage/core.entity_registry.
Unfortunately this doesn’t work with a Google account. Users like me, who bought the thermostat a short while ago and just got into HA, are still looking for a solution.
100%. I’d never buy something like that. There was someone here who started a thread promoting a ‘special’ after the end of the API had been announced as well. Hope no one fell for that crap.
2FA accounts won’t work with this, as I’m basically automating a web-based flow for authentication (there’s no way at this point to provide 2FA to the integration, though I’m still looking into this)
Google accounts won’t work with this, as they use a different authentication mechanism
Since I bought it about 1,5 months ago I was forced to use my Google account, which also uses 2FA. But I have to look into this. Thanks for letting me know!