Add a numeric value to a template #1137
Replies: 2 comments
-
- font-size: |
[[[
return ` ${states['input_number.infobox_dashboard_side_textgrosse'].state + 75}%` ;
]]] |
Beta Was this translation helpful? Give feedback.
-
|
Hi... no sucess it takes the value from the sensor and ignores the additional + 75 type: custom:button-card styles: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I want to ad a number (75) to the state in the sensor to set the font-size from 75% up to (75 + the maximum of the sensor)
Where have I to add the + 75?
Beta Was this translation helpful? Give feedback.
All reactions