Disable service/entities programmaticaly

Hello,

I would like to do an automation that disable all my covers if external temperature is below -10°.
Is it possible to programmatically disable services related to cover (cover.close_cover, cover.open_cover, etc) or disable all my cover’s entities (temporally) instead of create a input_boolean and use it in all script, automations and lovelace card ?

Thanks you

1 Like

Disabled.?

If below - 10 deg C ?

So some left open and some left closed ?

Why not just put a condition in that temp > - 10 deg ?

Yes, i would like to disable all actions of covers if temp < -10°C and re-enable when above, to prevent damages on my covers.

I search a better and simpler solution than put conditions on each automation, google home, lovelave card, scripts etc…