Error while setting up rd200_ble 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/rd200_ble/sensor.py", line 132, in async_setup_entry
val.native_unit_of_measurement = VOLUME_PICOCURIE
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "", line 4, in setattr
dataclasses.FrozenInstanceError: cannot assign to field 'native_unit_of_measurement'
Env: Core 2024.1.0 Supervisor 2023.12.0 Operating System 11.2 Frontend 20231208.2
Integration stopped working in the latest release: Seems to be related to this: https://github.com/home-assistant/core/issues/107004. Solution mention in link.
Error while setting up rd200_ble 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/rd200_ble/sensor.py", line 132, in async_setup_entry val.native_unit_of_measurement = VOLUME_PICOCURIE ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "", line 4, in setattr
dataclasses.FrozenInstanceError: cannot assign to field 'native_unit_of_measurement'