I am setting up a new Home Assistant computer and I guessed that I could be lazy by opening File Editor on my existing/working Home Assistant computer (running OS16.2 and core 2025.4.1), copy the full contents of automations.yaml, and then paste this content into automations.yaml on the new computer.
However, when I opened automations.yaml on the existing device, I saw some lines like this:
actions:
- type: turn_on
device_id: xxxx
No big deal. I figured that the device_id is associated with the device being turned on, so I went to Settings->Devices on the existing computer, clicked on the three dots next to one of my devices and selected Download Diagnostics. However, device_id does not appear!
So, if my laziness idea has any merit, would someone please let me know how to find device_id so that I can make sure that the new computer is referencing the proper device. Thanks.