It can’t be that complicated but I am getting tangled up and loosing my way! I have a simple Big Number Card showing inside temperature. All I want to achieve is that if the temp is 0°c or below the text color should be “Red” above 0°c it should be “Dark Blue”
this is the yaml file:
- type: custom:bignumber-card
title: Ute temp
entity: sensor.extra_temperature_temperature
scale: 70px
round: 1
min: -50
max: 100
severity:
- value: -50
style: var(--primary-text-color-red)
- value: 1
style: var(--primary-text-color-DarkBlue)
bnStyle: |
bnStyle: var(--label-background-color-#E0FFFF)
bnStyle: var(--label-boarder-width-0)
background-color: '#E0FFFF'
card_mod:
bnStyle:
boarder-width: '0'
background-color: '#E0FFFF'
1 post - 1 participant