-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Description
Describe the bug
After the HA upgrade to 2025.7.2 many entities for all the Hon controlled devices disappeared.
Tried to remove the integration and installing again, the issue still occurs. Additionally I can't see distinct devices but only 9 entities.
Device Log
Registratore: homeassistant.components.sensor
Fonte: helpers/entity_platform.py:382
Integrazione: Sensore (documentazione, problemi)
Prima occorrenza: 14:35:52 (1 occorrenza)
Ultimo accesso: 14:35:52
Error while setting up hon platform for sensor: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 382, in _async_setup_platform
await asyncio.shield(awaitable)
File "/config/custom_components/hon/sensor.py", line 152, in async_setup_entry
programName = device.getProgramName()
File "/config/custom_components/hon/device.py", line 76, in getProgramName
name = self._attributes["commandHistory"]["command"]["programName"].lower()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
