-
Notifications
You must be signed in to change notification settings - Fork 8
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
Setting development environment #22
Comments
I cloned the git repository and when I try the following test code using python version 3.8.10 (example in the README):
I get the following error message:
|
Hi @r-jordan, this is an async library (the "a" in (there is a lot of info out there about concurrency in Python, try this: https://realpython.com/async-io-python/) The README example is intended for To call it from a script you would need to use About the setup environment, everything you need to know is inside the
About new sensor attributes, please take a look into #21 and feel free to comment or suggest about other attributes :) |
Hi @azogue, Thanks to your instructions, finally, I succeed making the test script 🎉 😄 I'm sure this is not any great success for an experimenter python developer but for me it's challenging 🤦♂️ This is the most simple python code to test the library integration with HA that I made:
The following is the result at the moment of executing it with the printing of the state and the attributes:
|
Hi @azogue ,
I'm trying to setup a development environment for this library because I would like to add some new calculated attributes. What python version do I need to install? Some other recommendations? My operating system is Linux.
Regards,
Raúl
The text was updated successfully, but these errors were encountered: