Try changing the trigger to:
trigger:
- platform: state
entity_id: e6133d1c35aa029f629edae8af7e41d8 # replace this with the entity id
from: 'off'
to: 'on'
FYI: Why and how to avoid device_ids in automations and scripts
Try changing the trigger to:
trigger:
- platform: state
entity_id: e6133d1c35aa029f629edae8af7e41d8 # replace this with the entity id
from: 'off'
to: 'on'
FYI: Why and how to avoid device_ids in automations and scripts