Setting a motion sensor to off via automations

Hi, is there a way to forcely set the value of an entity to off via automations?

For example i want to set the motion sensor to off so it can trigger again on next move.

The physical motion sensor device should return to ‘off’ once it’s delay period ends…

yes i know, i am just wondering if theres a way to set it’s value to off so when it detects motion it will go to on again.

Yes but you can set binary_senor state to ‘off’ in HA (by forcing it) however if the actual physical device is still ‘on’ then you won’t gain anything since the sensor will need to return to ‘off’ before it can again switch to ‘on’ and subsequently trigger a state change in HA.

got it, thanks.