see below log
2021-01-20 21:17:26 INFO (MainThread) [homeassistant.components.climate] Setting up climate.daikin
2021-01-20 21:17:26 INFO (MainThread) [homeassistant.components.switch] Setting up switch.daikin
2021-01-20 21:17:27 ERROR (MainThread) [homeassistant.components.climate] Error adding entities for domain climate with platform daikin
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 316, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 531, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
sstate = self.state
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 173, in state
return self.hvac_mode
File "/usr/src/homeassistant/homeassistant/components/daikin/climate.py", line 194, in hvac_mode
daikin_mode = self._api.device.represent(HA_ATTR_TO_DAIKIN[ATTR_HVAC_MODE])[1]
File "/usr/local/lib/python3.8/site-packages/pydaikin/daikin_airbase.py", line 107, in represent
k, val = super().represent(key)
File "/usr/local/lib/python3.8/site-packages/pydaikin/daikin_base.py", line 295, in represent
val = self.values[key]
KeyError: 'mode'
2021-01-20 21:17:27 ERROR (MainThread) [homeassistant.components.climate] Error while setting up daikin platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 207, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 316, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 531, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
sstate = self.state
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 173, in state
return self.hvac_mode
File "/usr/src/homeassistant/homeassistant/components/daikin/climate.py", line 194, in hvac_mode
daikin_mode = self._api.device.represent(HA_ATTR_TO_DAIKIN[ATTR_HVAC_MODE])[1]
File "/usr/local/lib/python3.8/site-packages/pydaikin/daikin_airbase.py", line 107, in represent
k, val = super().represent(key)
File "/usr/local/lib/python3.8/site-packages/pydaikin/daikin_base.py", line 295, in represent
val = self.values[key]
KeyError: 'mode'
2021-01-20 21:21:23 INFO (MainThread) [homeassistant.components.climate] Setting up climate.daikin
2021-01-20 21:21:23 INFO (MainThread) [homeassistant.components.sensor] Setting up sensor.daikin
2021-01-20 21:21:23 INFO (MainThread) [homeassistant.components.switch] Setting up switch.daikin
2021-01-20 21:21:23 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new sensor.daikin entity: sensor.daikin_ac_inside_temperature
2021-01-20 21:21:24 INFO (MainThread) [homeassistant.helpers.entity_registry] Registered new climate.daikin entity: climate.daikin_ac
2021-01-20 21:21:24 ERROR (MainThread) [homeassistant.components.climate] Error adding entities for domain climate with platform daikin
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 316, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 531, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
sstate = self.state
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 173, in state
return self.hvac_mode
File "/usr/src/homeassistant/homeassistant/components/daikin/climate.py", line 194, in hvac_mode
daikin_mode = self._api.device.represent(HA_ATTR_TO_DAIKIN[ATTR_HVAC_MODE])[1]
File "/usr/local/lib/python3.8/site-packages/pydaikin/daikin_airbase.py", line 107, in represent
k, val = super().represent(key)
File "/usr/local/lib/python3.8/site-packages/pydaikin/daikin_base.py", line 295, in represent
val = self.values[key]
KeyError: 'mode'
2021-01-20 21:21:24 ERROR (MainThread) [homeassistant.components.climate] Error while setting up daikin platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 207, in _async_setup_platform
await asyncio.gather(*pending)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 316, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 531, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 296, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 320, in _async_write_ha_state
sstate = self.state
File "/usr/src/homeassistant/homeassistant/components/climate/__init__.py", line 173, in state
return self.hvac_mode
File "/usr/src/homeassistant/homeassistant/components/daikin/climate.py", line 194, in hvac_mode
daikin_mode = self._api.device.represent(HA_ATTR_TO_DAIKIN[ATTR_HVAC_MODE])[1]
File "/usr/local/lib/python3.8/site-packages/pydaikin/daikin_airbase.py", line 107, in represent
k, val = super().represent(key)
File "/usr/local/lib/python3.8/site-packages/pydaikin/daikin_base.py", line 295, in represent
val = self.values[key]
KeyError: 'mode