wema
(Martin Weiss)
December 19, 2022, 6:25pm
1
Hi
Does anyone know why im my dashboard the icons suddenly have these strange colors. Normaly and belong the documentation they should be yellow as the lights are:
And is it normal that only lights change color in entity panels?
eggman
(bertie basset)
December 19, 2022, 6:33pm
2
If you just upgraded to 2022.12.x you may wish to look at the release notes
Matter support is here! Beautiful new Tile card features, a full-blown local calendar, shiny new state colors, and use Shelly devices as Bluetooth proxies!
And these threads
I have used this way to control the colours of state on and off in my picture element cards
- entity: cover.kitchen_curtain
style:
'--paper-item-icon-active-color': orange
'--paper-item-icon-color': green
left: 44%
top: 4%
tap_action:
action: toggle
type: state-icon
The paper-item-icon css is a breaking change. Unfortunately there is no description of how do define these colours anymore.
I am sure there is a way.
This is a really annoying breaking …
Am I missing something or why does an entity not show any history in the popup but in the „more-info“?
The entity has state_class „measurement“ like others and should generate long-term statistics, strange this one does not work while others do
[image]
[image]
The exact posting with solution for Picture elements card fix is this
Note that when you have modified colours of icons in Picture Elements cards the situation needs a little more explaining
An example is
- entity: binary_sensor.front_door
icon: mdi:door
style:
'--rgb-state-binary-sensor-color': 255,0,0
'--paper-item-icon-color': green
left: 44%
top: 81%
type: state-icon
and for a cover
- entity: cover.kitchen_curtain
style:
'--rgb-state-cover-color': 255, 152, 0
'--paper-item-icon-color': green
lef…
The overall solution link relates to themes and that does not cover the use in picture-elements where you may have set colours per icon