I turned on my full set of Combustion equipment (two thermometers, one repeater, one display) and this integration took out Home Assistant (2024.10.1, HAOS): Web interface wouldn’t connect, ESPHome devices lost their connection, automations stopped, etc. Just was filling the log with this message over and over:
2024-10-05 16:06:26.852 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up combustion.binary_sensor
2024-10-05 16:06:26.855 INFO (MainThread) [homeassistant.components.sensor] Setting up combustion.sensor
2024-10-05 16:06:26.856 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up combustion.binary_sensor
2024-10-05 16:06:26.856 INFO (MainThread) [homeassistant.components.sensor] Setting up combustion.sensor
2024-10-05 16:06:26.857 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up combustion.binary_sensor
2024-10-05 16:06:26.857 INFO (MainThread) [homeassistant.components.sensor] Setting up combustion.sensor
2024-10-05 16:06:26.858 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up combustion.binary_sensor
2024-10-05 16:06:26.858 INFO (MainThread) [homeassistant.components.sensor] Setting up combustion.sensor
2024-10-05 16:06:26.859 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up combustion.binary_sensor
2024-10-05 16:06:26.859 INFO (MainThread) [homeassistant.components.sensor] Setting up combustion.sensor
I restarted HA from the CLI, and it started to come up, but then it tried to set up the Combustion integration and flooded the log with messages like:
2024-10-05 16:14:44.410 INFO (MainThread) [homeassistant.components.binary_sensor] Setting up combustion.binary_sensor
2024-10-05 16:14:44.410 INFO (MainThread) [homeassistant.components.sensor] Setting up combustion.sensor
2024-10-05 16:14:44.473 ERROR (MainThread) [homeassistant.components.sensor] Error adding entity sensor.predictive_thermometer_old_core_temperature for domain sensor with platform com
bustion
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 595, in _async_add_entities
await coro
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 909, in _async_add_entity
await entity.add_to_platform_finish()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1366, in add_to_platform_finish
self.async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1005, in async_write_ha_state
self._async_write_ha_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1130, in _async_write_ha_state
self.__async_calculate_state()
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1067, in __async_calculate_state
state = self._stringify_state(available)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1011, in _stringify_state
if (state := self.state) is None:
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/__init__.py", line 542, in state
value = self.native_value
^^^^^^^^^^^^^^^^^
File "/config/custom_components/combustion/sensor.py", line 235, in native_value
(id, temp) = self.probe_manager.probe_data(self.device_serial_number).core_sensor
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/combustion/probe_manager.py", line 59, in probe_data
return self.data[serial_number]
~~~~~~~~~^^^^^^^^^^^^^^^
KeyError: '100018ce'
(there are a bunch of similar ones, for all the sensors on both thermometers; the “old” in there is what I call one of my thermometers). A lot of them—the log is over 200MB from them.
This time, the CLI command didn’t work, and I had to kill it with a docker from HAOS debug SSH. I disabled the integration and HA is working again.
Did 2024.10 break the integration? I had used it with 2024.09.x and it was fine.