Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for KTBL04LM #139

Open
johnjoemorgan opened this issue Sep 20, 2021 · 2 comments
Open

Support for KTBL04LM #139

johnjoemorgan opened this issue Sep 20, 2021 · 2 comments

Comments

@johnjoemorgan
Copy link

johnjoemorgan commented Sep 20, 2021

Is support for lumi.acpartner.mcn04 / KTBL04LM in the pipeline? Can this include current (W) reporting?

@brightlike
Copy link

agree

@songjingcn
Copy link

some errors:

model: KTBL04LM
os: Core 2023.12.3
Frontend 20231208.2
System: Ubuntu 22.04

Logger: homeassistant.components.climate
Source: helpers/entity_platform.py:575
Integration: climate (documentation, issues)
First occurred: 15:21:09 (1 occurrences)
Last logged: 15:21:09

xiaomi_miio_airconditioningcompanion: Error on device update!
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/entity_platform.py", line 575, in _async_add_entity
await entity.async_device_update(warning=False)
File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/helpers/entity.py", line 959, in async_device_update
await self.async_update()
File "/home/homeassistant/.homeassistant/custom_components/xiaomi_miio_airconditioningcompanion/climate.py", line 350, in async_update
state = await self.hass.async_add_job(self._device.status)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/miio/click_common.py", line 184, in _wrap
return func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/miio/airconditioningcompanion.py", line 264, in status
return AirConditioningCompanionStatus(dict(model_and_state=status))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/srv/homeassistant/lib/python3.11/site-packages/miio/airconditioningcompanion.py", line 103, in init
self.state = data["model_and_state"][1]
~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants