samsinnamon / airtouch4pyapi

An api allowing control of AC state (temperature, on/off, mode) of an Airtouch 4 controller locally over TCP
MIT License
27 stars 14 forks source link

Change to demo.py required to fix error #24

Open PaulSchulz opened 1 year ago

PaulSchulz commented 1 year ago

When I tried to run demo I get a polite error from python explaining that 'coroutine' needed to be 'coreoutines'.

I ran the demo with: python3 demo.py IPADDRESS

It ran well (as expected) against my AirTouch 5 after this change.

(There are also some whitespace fixes in this commit.)