sampsyo / wideq

reverse-engineered client for the LG SmartThinQ API
https://pypi.org/project/wideq/
MIT License
326 stars 160 forks source link

Washer command on #107

Open mlepannetier opened 4 years ago

mlepannetier commented 4 years ago

Hi,

I have this issue when try turn on washer :

root@raspberrypi:/home/pi/wideq# python3 example.py ls f1b06f4a-7402-14e6-b29b-xxxxxx: LAVE-LINGE (WASHER F_V__F_W.AQEUK) root@raspberrypi:/home/pi/wideq# python3 example.py turn f1b06f4a-7402-14e6-b29b-xxxxxx on Traceback (most recent call last): File "example.py", line 237, in main() File "example.py", line 233, in main example(args.country, args.language, args.cmd, args.args) File "example.py", line 193, in example example_command(client, cmd, args) File "example.py", line 169, in example_command func(client, *args) File "example.py", line 139, in turn ac.set_on(on_off == 'on') File "/home/pi/wideq/wideq/ac.py", line 233, in set_on op_value = self.model.enum_value('Operation', op.value) File "/home/pi/wideq/wideq/client.py", line 346, in enum_value options = self.value(key).options File "/home/pi/wideq/wideq/client.py", line 321, in value d = self.data['Value'][name] KeyError: 'Value'