Legrand switch and triggered state

Hi guys,

I have a legrand switch to turn on/off lights in my room.
It works well but when I look into automation trigger, I can see several options like:
XXX binary input turned on/off
XXX Opening closed / opened

I don’t find a way to use these trigger and I don’t find any documentation about them.

Do you know how to use these triggers ?

Thanks

Hi Kiva,

Those look like events or device controls.
You may be better off using state controls.
Why and how to avoid device_ids in automations and scripts.