All entities are unavailable after update
adamchemiawppl opened this issue · 4 comments
Describe the bug
After update all entities are missing/unavailable
To Reproduce
Steps to reproduce the behavior:
Update working setup 2023.9 to 2023.10 or 2024.2
Expected behavior
After updating from 2023.9 to 2023.10 or 2024.2 my configuration stopped working. I read through readme and changelog - but found no indication of any breaking changes or any adjustments I'm expected to make.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Windows 11
- Browser chrome
- Version 121.0.6167.185
Could you please provide some logs ?
Hi,
I am having the same issue, updated Smart Thermostat (PID) in HACS and it stopped working. I'm using HA in docker, 2024.2
Logger: homeassistant.components.climate
Source: helpers/entity_platform.py:360
Integration: Climate (documentation, issues)
First occurred: 16:37:21 (4 occurrences)
Last logged: 16:37:21
Error while setting up smart_thermostat platform for climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 360, in _async_setup_platform
await asyncio.shield(task)
File "/config/custom_components/smart_thermostat/climate.py", line 192, in async_setup_platform
smart_thermostat = SmartThermostat(**parameters)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smart_thermostat/climate.py", line 288, in init
self._support_flags |= ClimateEntityFeature.TURN_OFF
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/enum.py", line 784, in getattr
raise AttributeError(name) from None
AttributeError: TURN_OFF
thanks
Mark
It looks like it misses the ClimateEntityFeature from HA core. What are your Home Assistant release versions ?
It seems this part is new in 2024.2.0
I just noticed this issue with 2024.1.5
UPDATE: on 2024.2.2
the issue is solved so I think it's something related to HA Core