Entity name changes randomly

Hi Guys, I am trying to dim xiaomi led strips in the theater room with plex playing and pausing. However, in home-assistant the entity name of my media player keeps changing randomly between media_player.plex and media_player.plex_921bteaz4qnxca6ozb1qq6w2 after each reboot which doesn’t let me automation run as I want it to. Please advise if there is anything I can do about it. thanks

edit: same goes for the yeelight strip. It changes between light.yeelight_strip and light.yeelight_strip_7811dc685913