Changing the entity of automation itself

I had some automations as buttons to toggle the automation ON/OFF on my lovelace but there was issue with the automation itself, so I deleted it an recreated it. However entity of the original automation was “automation.light_livingroom_on_off” the new automation entity is “automation.test_test2”

How can I change the entity of the new automation, to be the same as the old one, so I dont have to go to my lovelace and edit everything? I edit all my devices/sensor entities, but never had to do it on automation so I dont know how. Please help.

Same place as any other entity :

…and then click it and settings :

image

1 Like