syssi / xiaomi_airconditioningcompanion

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

Unable to select mode #132

Closed hoanglongutc closed 2 years ago

hoanglongutc commented 2 years ago

Recently I noticed a new error popped up. When I click on mode selection the menu is hidden and not selectable. I appreciate any help Error_air

hoanglongutc commented 2 years ago

logger: 2021-10-11 16:24:12 DEBUG (MainThread) [custom_components.xiaomi_miio_airconditioningcompanion.climate] Got new state: <AirConditioningCompanionStatus air_condition_brand=514 air_condition_configuration=01301C01 air_condition_model=b'\x01\x05\x02\x02\x00\x00%\x87\x01' air_condition_remote=9607 device_type=5 fan_speed=FanSpeed.Auto is_on=False led=True load_power=0 mode=OperationMode.Cool model_format=1 power=off power_socket=None state_format=1 swing_mode=SwingMode.On target_temperature=28>

hoanglongutc commented 2 years ago

I think it's related:

2021-10-11 16:28:11 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140638988291136] Error handling message: Unknown error

Traceback (most recent call last):

File "/usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py", line 26, in _handle_async_response

await func(hass, connection, msg)

File "/usr/src/homeassistant/homeassistant/components/frontend/init.py", line 693, in websocket_get_translations

resources = await async_get_translations(

File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 313, in async_get_translations

cached = await cache.async_fetch(language, category, components)

File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 223, in async_fetch

await self._async_load(language, components_to_load)

File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 238, in _async_load

for translation_strings in await asyncio.gather(

File "/usr/src/homeassistant/homeassistant/helpers/translation.py", line 197, in async_get_component_strings

loaded_translation["title"] = integrations[loaded].name

File "/usr/src/homeassistant/homeassistant/loader.py", line 383, in name

return self.manifest["name"]

KeyError: 'name'