I’m thinkering with a gauge card which has some hardcoded values and try to switch to input_number as a global variable which is easy to change.
Currently, I have this code which insterestingly does work with picture-element’s badges and card-mod
type: gauge
entity: sensor.temperatura_bajo_bingo
view_layout:
position: sidebar
severity:
green: 20
yellow: |
{{ states("input_number.temperatura_maxima") | int }}
red: 30