The fireplace mode of my Remeha HACS integration stops working correctly. I use a Docker container. After the last update of the container I got this problem. The fireplace mode still working in the official Remeha app and eventually also in Home Assistant, but with the fault below. I can configure the switch for the fireplace mode (on/off). But when I use the switch I get the message:
Actie switch/turn_on kon niet worden uitgevoerd. 'outdoorTemperature' remeha home assistant.
With this fault my automation (switch on/off radiators when fireplace is off/on) doesn’t work anymore.
I have the latest integration version of 0.1.16. I downgraded to version 0.1.15, but the problem is still there.
When I restart Home Assistant the message below appears in the log:
Logger: homeassistant.components.sensor
Bron: helpers/entity_platform.py:609
integratie: Sensor (documentatie, problemen)
Eerst voorgekomen: 21:00:37 (1 gebeurtenissen)
Laatst gelogd: 21:00:37
Error adding entity sensor.myhome_outdoor_temperature for domain sensor with platform remeha_home
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 609, in _async_add_entities
await coro
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 928, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1384, in add_to_platform_finish
self.async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1023, in async_write_ha_state
self._async_write_ha_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1148, in _async_write_ha_state
self.__async_calculate_state()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1085, in __async_calculate_state
state = self._stringify_state(available)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1029, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 520, in state
value = self.native_value
^^^^^^^^^^^^^^^^^
File "/config/custom_components/remeha_home/sensor.py", line 88, in native_value
data = data[part]
~~~~^^^^^^
KeyError: 'outdoorTemperature'
Hopefully can someone give me a hint or better…solve my problem. Thanks in advance.