Change state of templated binary sensor help!

Hello, first time posting on forum
My issue is this I have Home assistant running on a raspberry Pi4 basic in install added HACS and intergrated my devices Z-wave, Lutron, Harmony, esphome, ect

I also have a few cheap wyze camera’s that i want to use for security and motion detecting after reading a bunch of stuff and few tests. I went with motioneye since the pi isn’t powerful enough to run it and I have a full x64 open media vault server going I installed it in docker using stixes/motioneye-nvidia to use gpu acceleration and it’s running great.

I setup a toggle switch in helpers page and a built a automation using webhooks from motioneye
“run start command = curl -XPOST http://HA-IP-address:8123/api/webhook/motion-driveway-start
“run end command = curl -XPOST http://HA-IP-address:8123/api/webhook/motion-driveway-end
to goggle the switch on and off.
Now this all works great.

My issue is the blueprint i want to use for motion detecting only uses binary_sensor domain for the trigger.

So I created a binary_sensor using helpers
Helpers page > Create Helper > Template > Binary Template > Name of Sensor; State Template = off, Device Class=Motion.

How do interact with this sensor so a automation triggered by the motioneye webhooks will change the sensor state??

Thanks