Open bsafh opened 1 year ago
1.4.0 found something that seems to belong to my Issue 1116
Here this BT instance hang in the waitstate as described in issue 1116, i tried to reconfigure it with no result. This is the debug log, it's not possible to reconfigure because the old instance is hanging in waitstate for a device. It is the same unique ID, but the old instance did not stop. As described in Issue 1116 a hanging instance from waiting for device does this for several hours here.
ValueError: Config entry has already been setup! 2023-11-04 15:11:51.211 ERROR (MainThread) [homeassistant.components.climate] Platform better_thermostat does not generate unique IDs. ID 8f38f2dd2a0ad9a781186561fe5c30fa already exists - ignoring climate.hzg_stube 2023-11-04 15:12:08.491 WARNING (MainThread) [homeassistant.helpers.service] Referenced entities climate.hzg_stube are missing or not currently available 2023-11-04 15:20:10.994 ERROR (Recorder) [homeassistant] Error doing job: Task was destroyed but it is pending! 2023-11-04 15:20:10.995 ERROR (Recorder) [homeassistant] Error doing job: Task was destroyed but it is pending! 2023-11-04 15:20:11.008 ERROR (Recorder) [homeassistant] Error doing job: Task was destroyed but it is pending! 2023-11-04 15:20:11.008 ERROR (Recorder) [homeassistant] Error doing job: Task was destroyed but it is pending!
Same error her, had to delete the 'home-assistant_v2.db' file and then recreate the Better Thermostat entry to resolve the issue.
Prerequisites
config_entry-better_thermostat-19ff6ef24c23ea02bb77249529693c07.json.txt
config_entry-better_thermostat-05f8998637a9b08ab2cdc49410e99881.json.txt
HA log (with debug on)
Logger: homeassistant.config_entries Source: config_entries.py:565 First occurred: 18:05:57 (23 occurrences) Last logged: 18:40:39
Error unloading entry TRV_AI_Schlafzimmer_2 for climate Error unloading entry TRV_AI_Schlafzimmer_1 for climate Error unloading entry TRV_AI_Schlafzimmer_1_test for climate Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 565, in async_unload result = await component.async_unload_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/components/climate/init.py", line 201, in async_unload_entry return await component.async_unload_entry(entry) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 202, in async_unload_entry raise ValueError("Config entry was never loaded!") ValueError: Config entry was never loaded!
Description
one of the two BT instances is available, the other is permanently not available ("Schlafzimmer 1")
Steps to Reproduce
start HA and wait.
the BT TRV does never come up
Expected behavior:
both BT TRV working
Actual behavior:
one of the TRV is permanently unavailabe
Versions
HA root@homeassistant:~# ha info arch: amd64 channel: stable docker: 24.0.7 features:
BT 1.3.0
Additional Information
well, if anyone knows where to dig for more info, I#ll do it