-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
656 nest support #702
656 nest support #702
Conversation
devices = self.thermostat_obj.get_devices() | ||
print(f"DEBUG: devices = {devices}") | ||
meta_data = devices[self.zone] | ||
if parameter is None: |
Check warning
Code scanning / Prospector (reported by Codacy)
Unnecessary "else" after "return", remove the "else" and de-indent the code inside it (no-else-return)
print(f"Please go to {authorization_url} and authorize access") | ||
return input('Enter the full callback URL: ') | ||
|
||
def get_target_zone_id(self, zone=0): |
Check warning
Code scanning / Prospector (reported by Codacy)
Unused argument 'zone' (unused-argument)
""" | ||
if val is None: | ||
raise AttributeError("environment value cannot be none") | ||
if key is None: |
Check warning
Code scanning / Prospector (reported by Codacy)
Unnecessary "elif" after "raise", remove the leading "el" from "elif" (no-else-raise)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pylint (reported by Codacy) found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pylintpython3 (reported by Codacy) found more than 10 potential problems in the proposed changes. Check the Files changed tab for more details.
resolves #656 |
initial nest thermostat support, not yet functional