I've read all of the information Multiple Triggers, but can not get it to work

- trigger:

not

- Trigger:

Home Assistant is case sensitive and automations are a list not a dictionary. (Use a - in front of trigger).

Also have a read of this: Why and how to avoid device_ids in automations and scripts