ledfxrm
ledfxrm copied to clipboard
Error when adding devices
Version of the custom_component
0.2.5
Configuration
None
Describe the bug
Hello, Thank you very much for the integration, it is exactly what I'm looking for! I am having an issue when trying to add devices. I receive the following error log. I am on the latest version of HA. The issue persists even after following the "messed up" guide in the wiki.
Debug log
Error adding entities for domain light with platform ledfxrm
Error while setting up ledfxrm platform for light
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 316, in async_add_entities
await asyncio.gather(*tasks)
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 427, in _async_add_entity
original_icon=entity.icon,
File "/config/custom_components/ledfxrm/light.py", line 185, in icon
if self.deviceconfig["icon_name"].startswith("mdi:"):
KeyError: 'icon_name'
I've confirmed that v0.2.4 does not have this issue
Will look into it today. Thx for testing. (also you need the LATEST dev-branch of ledfx) @trancefam join our discord bro
@trancefam Could you try with v0.2.6?