Open Shutter only if ... without automation

Hi!

Is is possible to open a shutter, only if another property is set or not? In my case, is it possible to only open a shutter, when home > 0? So every command to the shutter to open it should be interrupted by a query, I the property home is greater 0 or whatever property is needed?

Thank you!

Usually, entities have no such built in protection. But the is a way to make that happen. Personally I have it on pretty much all my covers. Outside I have limits on wind (don’t close the shutter if there is a storm). Inside I block shades from going down if there is a window blocking it.

The solution is to create a template cover, and let that call scripts that contain the logic to call the actual cover only when conditions meet. Then I hide the cover without the safeguards. It is quite some work to create such template covers and scripts, so I only do it for things that really need it. In other instances, I just use conditions in automations, not a block in the entity itself.