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

Wrong Example for cloud appliance state #9

Closed
TA2k opened this issue Jul 2, 2022 · 0 comments
Closed

Wrong Example for cloud appliance state #9

TA2k opened this issue Jul 2, 2022 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@TA2k
Copy link

TA2k commented Jul 2, 2022

The example states

from midea_beautiful import appliance_state

appliance = appliance_state( 
    account="USER_EMAIL@example.com",  # Account e-mail
    password="secret_password",  # Account password
    id=123412341234,  # Appliance id obtained from Midea API 
)
print(f"{appliance!r}")

But in code looks like you have to handover a cloud object
Also is needed appliance_id instead of id and use_cloud

@nbogojevic nbogojevic added the documentation Improvements or additions to documentation label Jul 11, 2022
@TA2k TA2k closed this as completed Jul 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants