could someone tell me what i’m doing wrong?
i want to change the icon of the Balkon when temprature is below 3.
but for some reason it will not work.
square: false
type: grid
columns: 1
cards:
- type: grid
columns: 4
square: false
cards:
- show_name: true
show_icon: true
type: button
tap_action:
action: more-info
entity: sensor.esp32_temp_1_bme680_temperature
name: woonkamer
show_units: true
show_state: true
- show_name: true
show_icon: true
type: button
tap_action:
action: more-info
entity: sensor.slaapkamer_temp_temperatuur
name: slaapkamer
show_units: true
show_state: true
- show_name: true
show_icon: true
type: button
tap_action:
action: more-info
entity: sensor.hobbykamer_temp_temperature
name: Hobbykamer
show_units: true
show_state: true
- show_name: true
show_icon: true
type: button
tap_action:
action: more-info
entity: sensor.esp32outdoortemp_temperature_outside
name: Balkon
show_units: true
show_state: true
state:
- value: 3
operator: <=
styles:
card:
- background-color: red
- icon: mdi:snowflake-thermometer
- type: grid
columns: 4
square: false
cards:
- show_name: true
show_icon: true
type: button
tap_action:
action: more-info
entity: sensor.esp32_temp_1_bme680_humidity
name: woonkamer
show_units: true
show_state: true
- show_name: true
show_icon: true
type: button
tap_action:
action: more-info
entity: sensor.slaapkamer_temp_luchtvochtigheid
name: slaapkamer
show_units: true
show_state: true
- show_name: true
show_icon: true
type: button
tap_action:
action: more-info
entity: sensor.slaapkamer_temp_luchtvochtigheid
name: Hobbykamer
show_units: true
show_state: true
- show_name: true
show_icon: true
type: button
tap_action:
action: more-info
entity: null
name: N.A
show_units: false
show_state: true