Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] icon template color for service ignored #1288

Open
2 tasks
BenDavidson90 opened this issue Dec 9, 2024 · 0 comments
Open
2 tasks

[BUG] icon template color for service ignored #1288

BenDavidson90 opened this issue Dec 9, 2024 · 0 comments
Labels
bug Something isn't working homeassistant

Comments

@BenDavidson90
Copy link

PROBLEM DESCRIPTION

A clear and concise description of what the problem is.
I tried to configure this entity:

- entity: service.rest_command.oklyn_pump_off
  name: "Off"
  icon: mdi:fan
  color: '{{iif(states("binary_sensor.test")=="on", "[0,255,0]", "[255,165,255]")}}'

It doesn't work, the color stay the default one.
But if I replace service.rest_command.oklyn_pump_off by light.some_lamp, it works and the color changes.
It's a little like #586

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:
Code above

  • 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:
None

TO REPRODUCE

Steps to reproduce the behavior:
Code above

EXPECTED BEHAVIOUR

A clear and concise description of what you expected to happen.
Icon should change color according to the template

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

Please add the Panel/Firmware Version you are using (EU, US-L or US-P)
EU

@BenDavidson90 BenDavidson90 added the bug Something isn't working label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working homeassistant
Projects
None yet
Development

No branches or pull requests

2 participants