It’d be good if it was possible to set the friendly_name of an entity dynamically. Either setting it with a template, or something similar to the group.set_visibility service. homeassistant.set_name with the entity_id and new name passed would be the perfect service.
A use case for this was highlighted in another thread, whereby the name of a garage door should be able to display open/closed. This removes the need to also display a sensor, and may be more visible than just the icon. The state of a cover isn’t as obvious as that of a switch.