PROBLEM DESCRIPTION
Is it possible to change the icon dynamically?
I was already able to implement it successfully with the color, but it doesn’t seem to work with the icon.
thanks
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
apps.yaml here:
- entity: sensor.pv_akku_leistung
icon: '{{ iif(states("sensor.pv_akku_leistung_quelle") == "pv", mdi:solar-power, mdi:battery) }}'
TO REPRODUCE
Steps to reproduce the behavior:
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
SCREENSHOTS
If applicable, add screenshots/pictures to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
Please note here in case you are using ioBroker
PANEL / FIRMWARE VERSION
EU_Version
PROBLEM DESCRIPTION
Is it possible to change the icon dynamically?
I was already able to implement it successfully with the color, but it doesn’t seem to work with the icon.
thanks
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
TO REPRODUCE
Steps to reproduce the behavior:
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen.
SCREENSHOTS
If applicable, add screenshots/pictures to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
Please note here in case you are using ioBroker
PANEL / FIRMWARE VERSION
EU_Version