Unavailable traceback when re-configured or new-configured
LinuxfarmerHH opened this issue · 0 comments
LinuxfarmerHH commented
Prerequisites
- [Eurotronik Spirit-Z ] Model name of your Devices
- Output from Home Assistant Developer Tools state e.g.
- Output from Home Assistant Device Diagnostic from BT
{
Traceback (most recent call last):
File "/config/custom_components/better_thermostat/climate.py", line 794, in startup
await init(self, trv)
File "/config/custom_components/better_thermostat/adapters/delegate.py", line 46, in init
return await self.real_trvs[entity_id]["adapter"].init(self, entity_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/better_thermostat/adapters/generic.py", line 39, in init
).state in (STATE_UNAVAILABLE, STATE_UNKNOWN, None):
^^^^^
}
Description
Updated ha core and better ui card today, after that it's not possible to create or reconfigure a better-thermostate entity
Steps to Reproduce
- Open be and change something on an existing be-entity, save it and look for the red dot (unavailable) at this entity
- Delete and recreate this entity from scratch, save it and look for the red dot at this entity
- Restart HA, look for the red dot entitys after that
Expected behavior:
Create a new entity or reconfigure should result to a working entity
Actual behavior:
BE- entitys result to a red dot in the entity list and cannot show up in better thermostat ui (greyed out)
Versions
Core 2024.11.1
Supervisor 2024.11.2
Operating System 13.2
Frontend 20241106.2
Better Thermostat 1.6.1