gboudreau / nest-api

Unofficial Nest Learning Thermostat API
GNU Lesser General Public License v3.0
300 stars 93 forks source link

Refactor logic in getDevices #125

Closed bauzer714 closed 4 years ago

bauzer714 commented 4 years ago

Change logic to use last_status structure, rather than the user property structures. The user property "structure" doesn't contain all structures the user has access to. Also improved logic for variable reuse and implement existing cleanDevices.

bauzer714 commented 4 years ago

1 of the pieces to resolve. https://github.com/gboudreau/nest-api/issues/122