That’s why this FAQ was created to help new users understand what’s needed to help them in the most efficient manner.
In this case, guidelines 11 and 14 are applicable (post a formatted copy of your automation as opposed to a screenshot).
It’s much easier for experienced users to examine the YAML version of your automation. Plus it allows us to easily edit it, to make corrections, and share it with you.
Tip
Try to avoid referencing an entity by its device_id
. If you ever need to replace the device, it will be automatically assigned a new device_id
value. As a result, any automation that referenced the device by its device_id
will still have the old value and have to be manually updated. Opt for referencing an entity by its entity_id
.