Extra badge theming/templating not working in CustomUI: 20190113
covrig opened this issue · 5 comments
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:
All browsers. Using Chrome Version 71.0.3578.98 (Official Build) (64-bit)
CustomUI version:
CustomUI: 20190113
Home Assistant release (hass --version
):
0.83-0.85.1
Problem-relevant configuration.yaml
entries:
n/a
Problem-relevant Home Assistant log entries:
n/a
Any errors from browser Javascript console:
n/a
The Extra badges take the theme from the main element (state card). They should retrieve their own theme/template.
This:
should be something like this:
Related to:
var --label-badge-background-color
how did you install the new version? github files are still old ones, even update.sh is installing same 20180831.
ANd yes my badges are broken too (not changing color for home/away)
In my case it is installing the right version. I didn't check in detail but the Custom UI version displayed in Home Assistant is 20190113.
Could you point me to the page you install from? Because as stated before, installing from the usual place gives me that old version.
In your version do the custom color badges work?
just use the update.sh file @crus1313
pi@RPi3BplusDEV:/opt/homeassistant $ ./update.sh
Getting ./update.sh
File up to date.
Getting scripts.js.map
Getting scripts.js.LICENSE
File up to date.
Getting scripts-es5.js.map
Getting scripts-es5.js.LICENSE
File up to date.
Getting state-card-custom-ui-es5.html
Getting state-card-custom-ui-es5.html.gz
Getting state-card-custom-ui.html
Getting state-card-custom-ui.html.gz
Updated to Custom UI "20190113"
Getting __init__.py
File up to date.
Getting services.yaml
File up to date.
edit: don't forget to hard refresh your webbrowser so it correctly displays the new version. not sure if a restart is required but it wouldn't hurt either.
No theming on the extra badges here, and even the Unit has disappeared:
HA 84.3
HA 90.2
same goes for lights:
Before none
was displayed under the badges, and the update before latest custom-ui solved that. Icon_color has been reinstated, which is very nice.
Now please bring back the units under the badges?
Would be very nice, thanks