You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In zigbee2mqtt rename device with the box "Update Home Assistant entity ID" checked, changing the entity ID from, e.g., "climate.trv_küche" to "climate.trv_kueche".
Steps to Reproduce
see description
Expected behavior:
I expect renaming to be handled more gracefully.
Actual behavior:
The log shows this exception multiple times:
2024-11-17 11:14:04.951 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved (None)
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/mqtt.py", line 47, in init
).state in (STATE_UNAVAILABLE, STATE_UNKNOWN, None):
^^^^^
AttributeError: 'NoneType' object has no attribute 'state'
Versions
BT: 1.6.1
HA:
Core 2024.11.2
Supervisor 2024.11.2
Operating System 13.2
Frontend 20241106.2
Additional Information
No additional information
The text was updated successfully, but these errors were encountered:
You are renaming the device inside home assistant.
Why should better Thermostat pick up the new name, if to this plugin it just looks like there is a new thermostat installed.
This behaviour is totally expected and not a bug.
I mean. Correct me if I'm wrong, but better Thermostat has no knowledge about changes within home assistant, so this is unfixable.
Just don't rename your thermostats or simply set up a new one within better Thermostat.
Prerequisites
Description
In zigbee2mqtt rename device with the box "Update Home Assistant entity ID" checked, changing the entity ID from, e.g., "climate.trv_küche" to "climate.trv_kueche".
Steps to Reproduce
see description
Expected behavior:
I expect renaming to be handled more gracefully.
Actual behavior:
The log shows this exception multiple times:
Versions
BT: 1.6.1
HA:
Core 2024.11.2
Supervisor 2024.11.2
Operating System 13.2
Frontend 20241106.2
Additional Information
No additional information
The text was updated successfully, but these errors were encountered: