jimz011 / homekit-infused

Homekit Infused 5 2023
https://jimz011.github.io/homekit-infused/
Other
879 stars 138 forks source link

Button label shows uppercase letter even though its not set like that #184

Closed henrikrox closed 2 years ago

henrikrox commented 2 years ago
button_label: "[[[ if (states['sensor.current_covers_open'].state == 0) return `Alle screens er lukket`; if (states['sensor.current_covers_open'].state == 1) return `1 Screen er åpen`; else return `${states['sensor.current_covers_open'].state} Screens er åpen`; ]]]"

AFter updating to 5.1 my homescreen suddenly shows like this

Why is the text Uppercase after each space "X Screens er åpen" turns into "X Screens Er Åpen"

image

jimz011 commented 2 years ago

I will add this to the todo list for the next update so that you can change this.

jimz011 commented 2 years ago

This is addressed in the upcoming version, closing this now