home-assistant-custom-ui: HA 0.110.2: Extra badge does not show up

Checklist

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

Browser + Version: Chrome 81.0.4044.138 (Official Build) (64-bit)

CustomUI version: 20190518 Home Assistant release (hass --version): 0.110.2 Problem-relevant configuration.yaml entries:

customizer:
  custom_ui: local

frontend:
  themes: !include_dir_merge_named themes/
  extra_html_url:
  - https://raw.githubusercontent.com/andrey-git/home-assistant-custom-ui/master/state-card-custom-ui-dbg.html
  extra_html_url_es5:
  - https://raw.githubusercontent.com/andrey-git/home-assistant-custom-ui/master/state-card-custom-ui-dbg-es5.html

homeassistant:
  customize:
    light.gateway:
      custom_ui_state_card: state-card-custom-ui
      extra_badge:
        entity_id: sensor.gateway_illumination

ui-lovelace.yaml

cards:
- type: vertical-stack
  title: Living Room Controls
  show_header_toggle: false
  cards:
  - type: entities
    title: Lights and Switches
    entities:
    - light.gateway

Expecting extra badge here: Screen Shot 2020-05-26 at 10 30 37 AM

Problem-relevant Home Assistant log entries:

no any related entires noticed

Any errors from browser Javascript console:

no any related entires noticed... But here is a screenshot just in case..

Screen Shot 2020-05-26 at 11 58 49 AM

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16

Most upvoted comments

great, as we made it work! glad its working out for you.

note you can replace all triple ='s for doubles. == works in all templates. and, as mentioned in the post above yours, you can take out the ‘else’ on the last line of your template.

makes it a bit snappier, and, if you have many, like I do, you customizations that much shorter 😉