LordBoos / discord_game

Home Assistant custom component to get online and game status of Discord users

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

4.0.1 breaks on load

mitchcapper opened this issue · comments

2021-05-25 03:00:55 ERROR (MainThread) [homeassistant.components.sensor] Error adding entities for domain sensor with platform discord_game
Traceback (most recent call last):
  File "/homeassistant/homeassistant/helpers/entity_platform.py", line 364, in async_add_entities
    await asyncio.gather(*tasks)
  File "/homeassistant/homeassistant/helpers/entity_platform.py", line 482, in _async_add_entity
    entity.entity_id = entry.entity_id
AttributeError: can't set attribute
2021-05-25 03:00:55 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up discord_game platform for sensor
Traceback (most recent call last):
  File "/homeassistant/homeassistant/helpers/entity_platform.py", line 239, in _async_setup_platform
    await asyncio.gather(*pending)
  File "/homeassistant/homeassistant/helpers/entity_platform.py", line 364, in async_add_entities
    await asyncio.gather(*tasks)
  File "/homeassistant/homeassistant/helpers/entity_platform.py", line 482, in _async_add_entity
    entity.entity_id = entry.entity_id
AttributeError: can't set attribute

I too have noticed this error today, but it does not break the integration for me. Does it break it for you?