basbruss / adaptive-cover

An Adaptive Cover component for HomeAsisstant to control covers based on the sun's position
MIT License
57 stars 7 forks source link

Setting maximum position by external entity #155

Open mlstolk opened 2 months ago

mlstolk commented 2 months ago

Checklist

Is your feature request related to a problem? Please describe.

There are some scenarios in which I would like to dynamically set the maximum position (and potentially the default position), e.g. from an automation that restricts my horizontal awning from going out all the way with gusty weather. As far as I can tell, there is currently no way to adjust these settings during runtime.

Describe the solution you'd like

I think the most convenient way would be to add (optional) fields for assigning entities to the maximum position configuration parameter (and maybe default position as well).

Describe alternatives you've considered

n/a

Additional context

n/a