I have an issue with my Klover stove which was working normally with previous version of the integration. Here is what is shown in the logs:
`Logger: homeassistant.components.climate
Source: custom_components/aguaiot/climate.py:170
Integration: Climate (documentation, issues)
First occurred: 00:26:29 (2 occurrences)
Last logged: 00:26:29
Error adding entities for domain climate with platform aguaiot
Error while setting up aguaiot platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 662, in _async_add_entity
capabilities=entity.capability_attributes,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 280, in capability_attributes
data[ATTR_FAN_MODES] = self.fan_modes
^^^^^^^^^^^^^^
File "/config/custom_components/aguaiot/climate.py", line 170, in fan_modes
self._device.get_register_value_options("power_set").get(x, x)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
`
I can parse the attribute returned by my stove if needed.
Thanks a lot for your help,
Christophe
Hello,
I have an issue with my Klover stove which was working normally with previous version of the integration. Here is what is shown in the logs: `Logger: homeassistant.components.climate Source: custom_components/aguaiot/climate.py:170 Integration: Climate (documentation, issues) First occurred: 00:26:29 (2 occurrences) Last logged: 00:26:29
Error adding entities for domain climate with platform aguaiot Error while setting up aguaiot platform for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 507, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 662, in _async_add_entity capabilities=entity.capability_attributes, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 280, in capability_attributes data[ATTR_FAN_MODES] = self.fan_modes ^^^^^^^^^^^^^^ File "/config/custom_components/aguaiot/climate.py", line 170, in fan_modes self._device.get_register_value_options("power_set").get(x, x) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'NoneType' object has no attribute 'get' `
I can parse the attribute returned by my stove if needed. Thanks a lot for your help, Christophe