-
Notifications
You must be signed in to change notification settings - Fork 98
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
Integrate climate with the smartthinq platform. #27
Conversation
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.
Great; thanks! Here are a few suggestions.
Thanks for the great suggestions. All implemented. |
Looking great; thank you!! I gave this a shot, and it looks like we might have one small thing to clean up: the component fails to load if the
And also:
And the UI reports a message like this:
So maybe we just have to be tolerant of the missing |
Hmm. Is it possible you are testing the version without this PR? I specifically tested the configuration you describe. Here it is working:
Configuration used:
The other clue is that your stacktrace line numbers don't match my master repo (and this PR). With this PR, prior to the code shown in your stacktrace, is this block:
... i.e. it should not get as far as the stacktrace shows. Let me know if there's any chance you didn't patch in this full PR when you ran that test? |
Aha; you're so right! Sorry about that. There's another problem, however—here's the traceback:
This happens if neither method specifies a country code. Maybe that line needs to use a |
My goodness, sorry about that. We'll get there in the end ... please take another look. |
Wonderful! That did it. Thanks!! |
Caution: I can only partially test this, as I do not have any LG HVAC gear. It appears to do the right thing as far as the point of device creation logic -- and the right warning messages appear to get printed. This will support both the old style (printing warning messages) and the new style.
You may want to test this yourself.
Also took the liberty of updating the README. Happy to remove the dishwasher image if you'd rather keep it clean.