Closed baudneo closed 6 months ago
Hi mine too, is now broken, I got this on my side
Logger: homeassistant.components.sensor
Source: helpers/entity_platform.py:360
Integration: Capteur (documentation, issues)
First occurred: 15:48:28 (3 occurrences)
Last logged: 15:50:29
Error while setting up idrac_power 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/idrac_power/sensor.py", line 48, in async_setup_entry
IdracCurrentPowerSensor(hass, rest_client, device_info, f"{serial}_{model}_current", name),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/idrac_power/sensor.py", line 61, in __init__
self.entity_description.name = name
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<string>", line 4, in __setattr__
dataclasses.FrozenInstanceError: cannot assign to field 'name'
Should be fixed in the latest version. Please test. :)
Should be fixed in the latest version. Please test. :)
Verified that version 1.1.0 resolved this issue, my idrac powers are now updating again :)
Fixed, thank you!
I am unsure of when the integration went down (might of been after updating to a previous release), but I noticed today. The only logs I can see so far are: