Hello there,
The upcoming version's betas throwing the below error:
Error while setting up thermal_comfort platform for sensor
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/thermal_comfort/sensor.py", line 435, in async_setup_entry
entities: list[SensorThermalComfort] = [
^
File "/config/custom_components/thermal_comfort/sensor.py", line 436, in
SensorThermalComfort(
File "/config/custom_components/thermal_comfort/sensor.py", line 480, in init
self.entity_description.translation_key = sensor_type
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 4, in setattr
dataclasses.FrozenInstanceError: cannot assign to field 'translation_key'
Hello there, The upcoming version's betas throwing the below error:
Error while setting up thermal_comfort platform for sensor
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/thermal_comfort/sensor.py", line 435, in async_setup_entry entities: list[SensorThermalComfort] = [ ^ File "/config/custom_components/thermal_comfort/sensor.py", line 436, in
SensorThermalComfort(
File "/config/custom_components/thermal_comfort/sensor.py", line 480, in init
self.entity_description.translation_key = sensor_type
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 4, in setattr
dataclasses.FrozenInstanceError: cannot assign to field 'translation_key'