WTH is a device trigger 'Unknown' after changing the entity_id

If you change the entity_id you have to change it everywhere you used it previously. If you think that should be changed. Then vote here: WTH is there no "refactor" functionality when changing an entity name?

Closing this as a duplicate.