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

Discord user name changes cause entities to be renamed

jhqv opened this issue · comments

First of all, thanks for an excellent integration!

The entity created by this integration contains both the Discord nick and the Discord numeric id, causing the entity to be renamed if the user changes the nickname (which many younger Discord users seem to do pretty frequently). This obviously breaks any other automations or Lovelace cards that rely on a fixed entity name.

Would it be possible for the integration to provide a somewhat static name for the entity instead?
For example sensor.discord_user_<id> instead of the current model with sensor.discord_<nick>_<id>.

Fixed in 70bdabd
Check release 3.4.0