@ninjadog wrote:
So I am using yaml based UI and have the following in my <config>/ui-lovelace.yaml
resources: - url: /local/simple-thermostat.js?v=1 type: module title: KEATS views: cards: - type: vertical-stack title: HW & CH cards: - type: entities entities: - entity: switch.danfoss_rxz3_rf_relay_switching_unit_switch name: Hot water icon: mdi:water state-color: true - entity: switch.danfoss_rxz3_rf_relay_switching_unit_switch_2 name: Central heating icon: mdi:radiator state-color: true
which correctly gives me:
But when I slide the on/off button, the icons do not change.
I expect , for water , to use the mdi:water icon and change the icon for on/off states using
mdi:water-on and mdi:water-off ??What have I done wrong please - obviously probably not understanding icon and entity relationships??
Posts: 2
Participants: 2