I'm attempting to create an automation (or something) so that whenever a motion sensor is tripped, my office light becomes red.
To do this, I'm creating a "New Automation", and in the "then do" section I have the following by default:
type: turn_on
device_id: 109a76a1a8be6aabece76b3663b2ab85
entity_id: cae5a0423a25ec2d114ee71d8a5b91fe
domain: light
Where can I find the documentation for "type" there? I am curious to know what the available types are, as an example.
And what syntax do I have available in this section?
I'm aware of the documentation, with the relevant section seeming to be here: https://www.home-assistant.io/docs/automation/action/
However, it never mentions the keyword 'type'.