Can't find "Expose to Automation"

I do not have this “Expose to Automation” option?

This is what I have.

They moved it to a separate tab called automation

I did not find it in automation

I am trying to get a notification when lock 1 or lock 2 change

Change the type of automation from sensor to switch.

Ok, did that, but I still do not find where to setup a notification for these inputs.

Go to automation


and create a new automation, then choose device state as condition and send notification as action

Perfect thanks!