In this text I want to change to second icon in a variable like the icon-color-sensor. How to achive this?
name: |
[[[
return `<ha-icon
icon="mdi:thermometer"
style="width: 14px; height: 14px;">
</ha-icon> <span>${entity.state}°C</span><br>
<ha-icon
icon="mdi:signal-cellular-3"
style="width: 14px; height: 14px;float:left;">
</ha-icon><span>${states['fire_stove.stove'].attributes.power_level} kW</span><br>
<ha-icon
icon="mdi:fan"
style="width: 14px; height: 14px; float:left; color: var(--icon-color-sensor);">
</ha-icon> <span>${states['fan.livingroom_fan'].state}</span>`
]]]