Skip to content
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

Restore reference to 'self' in __init__() functions #207

Merged
merged 6 commits into from
Oct 29, 2022

Conversation

uzlonewolf
Copy link
Collaborator

Fixes #205 by changing __init__() to include "self". All other devices using __init__() were also updated to keep everything consistent. A tweak to Cloud.getdevices() to add some sanity checking is also included.

@jasonacox jasonacox merged commit 5e3f535 into jasonacox:master Oct 29, 2022
@jasonacox
Copy link
Owner

Thanks @uzlonewolf !! - I'm going to publish as 1.7.2.

@uzlonewolf uzlonewolf deleted the get-key-from-json branch December 9, 2022 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Contrib/ThermostatDevice : NameError: name 'self' is not defined
2 participants