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

Extra badge theming/templating not working in CustomUI: 20190113 #165

Open
3 tasks done
covrig opened this issue Jan 15, 2019 · 5 comments
Open
3 tasks done

Extra badge theming/templating not working in CustomUI: 20190113 #165

covrig opened this issue Jan 15, 2019 · 5 comments

Comments

@covrig
Copy link

covrig commented Jan 15, 2019

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:
34455339-779d373c-ed7d-11e7-8e3f-700ab4680c45
should be something like this:
34455339-779d373c-ed7d-11e7-8e3f-700ab4680c4d
Related to:
var --label-badge-background-color

@covrig covrig changed the title Extra badge theming not working in CustomUI: 20190113 Extra badge theming/templating not working in CustomUI: 20190113 Jan 15, 2019
@crus1313
Copy link

crus1313 commented Jan 16, 2019

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)

@covrig
Copy link
Author

covrig commented Jan 16, 2019

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.

@crus1313
Copy link

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?

@RezzZ
Copy link

RezzZ commented Jan 17, 2019

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.

@Mariusthvdb
Copy link

Mariusthvdb commented Apr 3, 2019

No theming on the extra badges here, and even the Unit has disappeared:

HA 84.3

Schermafbeelding 2019-04-03 om 14 23 28

HA 90.2

Schermafbeelding 2019-04-03 om 14 23 53

same goes for lights:

HA 84.3
Schermafbeelding 2019-04-03 om 14 26 04

HA 90.2
Schermafbeelding 2019-04-03 om 14 26 19

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants