Surprised I couldn’t find a previous example of this but I’m trying to achieve something like the example below…
…so I can see at glance who’s home, which I know I could do with ‘hide if away: true’, but I’d like to keep the 'away’s visible so I can click the badge to see the time they left.
Any ideas?
1 Like
Solution is in the first few posts here…
Having a bit of trouble getting it working, Chrome inspector gives me the below which shows it’s picking it up but being overridden by the default…
[03]
I have the below in my config under homeassistant:
customize_glob:
"device_tracker.*":
custom_ui_state_card: custom-ui
which doesn’t make any difference other than to break a group I have elsewhere in the front end with the device_tracker states shown.
I’m on 61.1 hass.io and installed using this option…
customizer:
custom_ui…
Thanks to @andrey
1 Like
kriss13
(Cristian)
December 11, 2018, 7:52am
3
Actually this is all the info in one place. Nothing else worked for me but this has.
Thanks for helping out. Got it figured out in the end and will describe here how for newbies.
First I have to state that I was not clear in my post about what I wanted to accomplish. Apologies for that. I was looking for badges/labels/icons that would change colour based on the state of device_tracker, thus home or not_home. The code given above this post will change the colour when a listbox is rendered or when an entry (also device_tracker ones) is clicked on and a layover box is opened. But …
As of now the customization is broken for the top row of badges but not for the badges in cards. It affects Lovelace too.
opened 02:49PM - 22 Jan 19 UTC
### Checklist
- [x] I'm running the latest version of CustomUI ([Update guide](… https://github.com/andrey-git/home-assistant-custom-ui/blob/master/docs/installing.md#updating)) or using a specific [release](https://github.com/andrey-git/home-assistant-custom-ui/releases) 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:** Opera 57 and iOS 12
<!-- To check either:
* Go to /dev-info panel. The CustomUI version will be under Home Assistant version
* Open browser dev console (see below). CustomUI version should be printed there.
-->
**CustomUI version:** 20190113
**Home Assistant release (`hass --version`):** 0.85.1
The theming for top of the page badges were working on 84.6 but not anymore on 85.1.