-
Notifications
You must be signed in to change notification settings - Fork 20
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
Error on startup #10
Comments
apper13
changed the title
Remaining time when starting script when washing machine is running
Error on startup
May 21, 2020
I have exactly the same issue. |
same issue here. |
Me too |
Same issue here :( -- and also only have 1 single device, a washer/dryer |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, I really like your project. I have an issues with the code:
On line 72 of thinq2/model/thinq.py I get the following error:
AttributeError: 'dict' object has no attribute 'device_type'
. Accessingitem.device_type
does not work for me.item['device_type']
oritem.get("device_type", {})
works, but than the result of this line (device_schema) is not able to load the snapshop in the next line... Even if it seems like it gets the current schema (LaundryDevice).The error when calling device_schema.load() is:
AttributeError: 'dict' object has no attribute 'snapshot'
. Of course there is no attribute snapshot if you are accessing only the snapshop part of data. So I thought I would change it to just usedata
, but then I get the next error:marshmallow.exceptions.ValidationError: {'result': {'item': {0: {'washerDryer': ['Missing data for required field.'], 'timestamp': ['Missing data for required field.'], 'static': ['Missing data for required field.']}}}}
.Maybe you can help?!
The text was updated successfully, but these errors were encountered: