But i still canât get it to change to red ONLY if the last_update is longer then 2 minutes (for testing), i donât know what i am doing wrong - i have tried multiple ways, but it wonât change to red⌠any ideas?
How would I go about using card-mod to alter what is displayed with the âmore infoâ portion of a light card (Mushroom in this case)?
My Tuya device has color temp control, but only warm-to-bright white capability. However, when using the Tuyalocal integration, more-info also displays a color wheel selector, additional colors, an Attributes drop-down, and an Effects/Scene selection:
Interestingly, the same card/more-info displays correctly for the device when using the cloud-based Tuya integration/entity. Iâve played with all the Tuya values used for this device until I finally got the power, brightness, and color temp controls working. But no combination of these worked to limit or turn off these additional controls, so I thought using card-mod might be the solution.
This is definitely to be fixed in either Frontend or in this integration. Consider creating an issue in Github (may be start in Frontend repo).
Any more-info-related things is an off-topic here. There is a dedicated card-mod-themes thread. But I am not sure it is possible to fix more-info for a particular entity. But probably it could be possible for ALL light-related more-info - this may work if you use only similar lights.
Not exactly if I understood you correctly.
In UI in âyaml editorâ you CANNOT use â!secretâ, â!includeâ.
They can only be used in yaml-made-dashboards, not in UI-made ones.
As for yaml-anchors - you MAY use them in UI âyaml-editorâ.
But since after saving the yaml code is converted to json, all your anchors will be converted to a code before converting to json, so these anchors will not be restored as anchors after reopening the UI âyaml-editorâ.
When I set this value manually to e.g. 150px the effect is applied, but during some internal refresh cycle it is set back to 320px.
Does card_mod set the value only once?
Thanks for helping!
What about other styles?
Could you test some amount of styles from a consolidation post (1st post â link at the bottom)?
May be your issues could be explained by old SW versions; or it also could be a particular browser issue.
I it possible to target only the energy dashboard through the theme file?
I would like to add --masonry-view-card-margin: 8px 4px; to the host of <ha-panel-energy>.
I have checked the link with other style examples, trying to find a good candidate to play with. The graph has a legend, so I thought it should be pretty easy to change the font size on it. I tried two possibilities (with and without using $:) and none of them worked Have I done a stupid mistake in syntax? Otherwise I am puzzledâŚ
P.S. Tested in Chrome and Firefox with same (negative) result.
P.P.S. ivory background worked just fine.