dave-code-ruiz / elkbledom

Home Assistant custom component for LED STRIP NAME ELK BLEDOM
MIT License
77 stars 16 forks source link

Error adding entities for domain light with platform elkbledom (Since HA 2023.8.0) #32

Closed tracedebrake closed 1 year ago

tracedebrake commented 1 year ago

Logger: homeassistant.components.light Source: helpers/entity_platform.py:619 Integration: Lumière (documentation, issues) First occurred: 20:13:24 (2 occurrences) Last logged: 20:13:24

Error adding entities for domain light with platform elkbledom Error while setting up elkbledom platform for light Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 510, in async_add_entities await asyncio.gather(*tasks) File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 619, in _async_add_entity device = dev_reg.async_get(self.hass).async_get_or_create( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: homeassistant.helpers.device_registry.DeviceRegistry.async_get_or_create() got multiple values for keyword argument 'config_entry_id'

tracedebrake commented 1 year ago

The culprit might be here: https://github.com/home-assistant/core/pull/95547

dave-code-ruiz commented 1 year ago

I publish 1.0.8 with your fix, try it please and post results

tracedebrake commented 1 year ago

I confirm that the fix works with the latest 2023.8.1 :)

dave-code-ruiz commented 1 year ago

@tracedebrake thnks