Skip to content

[BUG] Dynamic changing of the icon on Screensaver 2 #1415

Description

@Peet1985

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!

  • Provide your apps.yaml (or your config):
  apps.yaml here:

        - entity: sensor.pv_akku_leistung
          icon: '{{ iif(states("sensor.pv_akku_leistung_quelle") == "pv", mdi:solar-power, mdi:battery) }}'


  • Go to Settings>Add-ons>AppDaemon>Log (or the output of your TS script) and then, provide the output of the log during your issue/bug occurs:
  Log output here:


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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions