berrywhite96 / lovelace-shutter-row

Home Assistant Lovelace Shutter Row Card
MIT License
19 stars 4 forks source link

Rollershutter Max 99% #27

Open skyx3 opened 11 months ago

skyx3 commented 11 months ago

With my roller shutters, 100% = 99%, unfortunately there is no 100%. Consequently, I do not get the state "closed", can I change something in the script so that it displays 99% with the state "closed"? Thank you

berrywhite96 commented 9 months ago

Just use the position_template attribute to define your own logic.

skyx3 commented 9 months ago

Thank you, do you have any idea what I am doing wrong, I am getting an error:

grafik

berrywhite96 commented 2 weeks ago

Your if statement isn't closed: {% endif %}.