8000 icon_color don‘t work anymore with ha 0.110 · Issue #184 · andrey-git/home-assistant-custom-ui · GitHub
[go: up one dir, main page]

Skip to content
icon_color don‘t work anymore with ha 0.110 #184
@Krocko

Description

@Krocko

Checklist

  • [ x] I'm running the latest version of CustomUI (Update guide) or using a specific release that is not marked as "Broken".
  • [x ] I tried to force-refresh (Ctrl+Shift+R / Ctrl+F5) the browser
  • [ x] (Optional, but recommended) I'm using Chrome or tried to reproduce the feature on Chrome.

Browser + Version:
Safari, Chrome

CustomUI version:

20190518

Home Assistant release (hass --version):
0.110.0b0
Problem-relevant configuration.yaml entries:

  icon_color: >
    if (state === 'on') return '#FF0000';
    if (state === 'off') return '#00FF00';
    return icon_color;

Problem-relevant Home Assistant log entries:


Any errors from browser Javascript console:


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0