Open Kanzll opened 1 week ago
it looks like the c
field in the data.connection.alarmRules
is missing. from your response. let's go ahead and just default that in the case where it's not present.
Thanks for the report @Kanzll - i've used that traceback to reproduce the issue here, and prepped a fix branch. You can give it a try here:
pip uninstall pylibrelinkup
python -m pip install git+https://github.com/robberwick/pylibrelinkup.git@handle_missing_alarm_rules_c
Yes ! it works, thank you again @robberwick
Awesome! We got there in the end :+1:
And thank you for your patience @Kanzll , and also those example response payloads. They've helped me to identify places where I can strengthen some weak spots in the library, and even some areas where I can add new functionality.
this should be fixed in v0.5.1 - https://pypi.org/project/pylibrelinkup/0.5.1/
this should be fixed in v0.5.1 - https://pypi.org/project/pylibrelinkup/0.5.1/
Thank you @robberwick
Hello, I get a validation error when using read method, here is my code
And here is complete error message:
Thank you !