Can a script or scene have the same name as an automation?

I see nothing to prevent it, should be ok ? Or is it bad practice.

There’s no technical reason to avoid assigning the same object_id to entities in multiple domains.

light.kitchen
switch.kitchen
scene.kitchen
automation.kitchen
input_boolean.kitchen
input_datetime.kitchen
fan.kitchen
etc
1 Like