nbogojevic/midea-beautiful-air

Wrong Example for cloud appliance state

TA2k opened this issue · 0 comments

TA2k commented

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