vilppuvuorinen / pymelcloud

A MELCloud Client Library
MIT License
7 stars 5 forks source link

How to Write to MelCloud!? Error: can't set attribute #27

Open sonicdee opened 2 years ago

sonicdee commented 2 years ago

Hello, fetching state of my ATA devices works fine, but I'm not able to set something.

How to, there is no example...

setting the attribute before or after await device.update() does not work..:

device.power = False AttributeError: can't set attribute

sonicdee commented 2 years ago

oh I found out: await device.update() props = {'power': True, .....} await device.set(props) ... await session.close()