Open edrabbit opened 10 years ago
Scratch that, had the right approach with assuming the first structure but misread some code. Got it working (or at east pass the auth/getting status point) now. Forked here rather than pull request since in theory it reduces functionality by making it function for me: https://github.com/edrabbit/Indigo-Nest-Thermostat-Plugin
THe Nest Plugin is failing to add a device. I debugged and it appears that Nest may have changed the data they are sending back when attempting to _refresh_status. My manual troubleshooting:
Looks like Nest's structure data is missing "name". Here's what status_url is returning in self._status_data (personal info redacted):
I've made my attempt at switching the code to just assume the first structure is what the user wants, but still running into problems inside Indigo with it. See change at https://github.com/edrabbit/Indigo-Nest-Thermostat-Plugin/commit/62700882adeee64bfd3ca4ba23630bbf8604bda9