Closed thecode closed 5 years ago
I can confirm this bug on home-assistant 0.84.6
confirm this issue on home-assistant 0.84.6
0.84.6 made a change so that _stateDisplay
is no longer customizable and empty friendly_name
(which CustomUI uses to hide the name) is not supported.
The 2nd issue will be fixed in 0.85
That is too bad really and again another major annoyance added to Lovelace not fully supporting the Custom-ui tbh...
Is there any chance a future update to the Custom-ui will bring the _stateDisplay back? Or might you have a suggestion how to do that in Lovelace itself ?
One day I'll add support for Lovelace. _stateDisplay is not coming back to non-Lovelace.
Thx andrey, Is this breaking change documented somewhere in Ha Github or release notes?
I’d really like to contact devs to revert this, since stateDisplay is truly fundamental and not being able to customize that makes HA front end rather user unfriendly ..
The main problem with putting a text bellow the badge is that it creates more spaces between the entities in the group, on my example above I have 8 entities, the group card is almost double in size with the text, it create something that is almost unusable, maybe it is possible to add a new attribute to entities (on HA level), something like "hide_name" or similar?
Some good news, Updated to Home Assistant 0.85.0, if you use the extra_badge to add another sensor entity, you can set the sensor friendly_name to "" and things will go back to normal (Name will not appear and will also not occupy space in the UI), however extra_badge from attributes still shows "none"
I released 2019-01-13 which sets friendly_name
to empty automatically, so now extra_badge
should work again.
Thanks, this solve the issue
Checklist
Browser + Version: Chrome Version 71.0.3578.98 (Official Build) (64-bit)
CustomUI version: 20181217
Home Assistant release (
hass --version
): 0.84.6Problem-relevant
configuration.yaml
entries:Problem-relevant Home Assistant log entries:
From home assistant version 0.84.5 and above the extra_badge sensor name or 'none' for attribute is displayed in card instead of being hidden
Home Assistant 0.84.6 sensor name is displayed: extra badge sensor:![image](https://user-images.githubusercontent.com/1858925/50447462-f034ac80-0923-11e9-9f22-dfac3c10e7dc.png)
extra badge attribute:![image](https://user-images.githubusercontent.com/1858925/50447475-00e52280-0924-11e9-9947-d38c978489a5.png)
On Home Assistant 0.84.3 the name is not displayed: extra badge sensor:![image](https://user-images.githubusercontent.com/1858925/50447398-8e744280-0923-11e9-9107-06e6afefda10.png)
extra badge attribute:![image](https://user-images.githubusercontent.com/1858925/50447413-a77cf380-0923-11e9-8a4e-6b5dfe91a2d0.png)