syssi / xiaomi_airconditioningcompanion

Xiaomi Mi and Aqara Air Conditioning Companion integration for Home Assistant
Apache License 2.0
401 stars 94 forks source link

Component doesn't work #7

Closed liorm0505 closed 6 years ago

liorm0505 commented 6 years ago

Hi, i have an Aqara Air Conditioning Companion (Air condition partner) which i believe is the one relevant for this component. I can ping the gateway and i get no errors while hassio boots but for some reason i get the following error when i click the on/off button in the dashboard:

Error executing service <ServiceCall climate.turn_off: entity_id=['climate.aqara_air_conditioning_companion']> Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/homeassistant/core.py", line 1010, in _event_to_service_call yield from service_handler.func(service_call) File "/usr/lib/python3.6/site-packages/homeassistant/components/climate/init.py", line 443, in async_on_off_service yield from climate.async_turn_off() File "/usr/lib/python3.6/asyncio/futures.py", line 332, in iter yield self # This tells Task to wait for completion. File "/usr/lib/python3.6/asyncio/tasks.py", line 250, in _wakeup future.result() File "/usr/lib/python3.6/asyncio/futures.py", line 245, in result raise self._exception File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run result = self.fn(*self.args, **self.kwargs) File "/usr/lib/python3.6/site-packages/homeassistant/components/climate/init.py", line 773, in turn_off raise NotImplementedError() NotImplementedError

The FW version is: 1.41_145.0143

needless to say that i see no response from my ac.

I have some basic linux and coding (mainly python) skills. I would like to help testing this component.

love your work, Lior.

liorm0505 commented 6 years ago

Sure, Thanks.

syssi commented 6 years ago

I received the Air Conditioning Companion today. The component should work now. Please update the custom component after the release of Home Assistant 0.66 because python-miio 0.3.8 is a prerequisite.