#Renaming entity doesn't update automations that use it

19 messages · Page 1 of 1 (latest)

verbal lance
#

When I rename a helper entity, my automations that use it aren't updated automatically to reflect it. Can this be done?

queen hamlet
#

This is actually deliberate so that if/when you need to replace a device then you can just rename the sensors to have the same IDs.
You can edit the automations.yaml and scripts.yaml file to replace the entity ID, and then reload them through Developer Tools

verbal lance
#

Hmm.. at least a choice would be nice.

#

Actually, shouldn't this always happen for helper entities? A device entity, ok, but when would you want a helper entity rename to not update automations?

stone leaf
verbal lance
#

I'll agree that a choice should be offered then.

ocean tusk
stone leaf
queen hamlet
vagrant sable
#

you can use the entry_id instead of the entity_id. Then you can rename as much as you want

#

But you will have the same issue as when using device triggers/conditions/actions

#

replacing a device means you need to adjust all your automations using that device

#

(also, the entry id is not easy to find, easiest is to use a device trigger/action as they use the entry id as well)

stone leaf
queen hamlet
stone leaf
# queen hamlet Firstly: calling someone a nazi is against the rules. Secondly: Home Assistant's...

"Grammar nazi" is an idiom (https://en.wikipedia.org/wiki/Grammar_Nazi) and has nothing to do with nazism. You're right about issues/requests. It's hard to play with mind games with moderator without sense of humour, so i'm shutting up.

Grammar nazi/spelling nazi or grammar pedant/spelling pedant is a term for a pedant who compulsively criticizes or corrects others' grammar mistakes, typos, misspellings, and other errors in speech or writing. The term originated in 1990s discussion forums as a way to insult those who overly correct others' grammar. "Grammar Nazis" often correct...

copper summit
#

Arguing will not help your case, it's still against the rules

stone leaf
queen hamlet
#

Regardless of the intention that is what you did.