Closed stinobook closed 1 year ago
I’ll check uom, but in the mean time, try the following:
animations:
- state: 'on'
entity_index: 0
styles:
tool:
opacity: 0.8
transition: opacity 0.5s linear
- state: 'off'
entity_index: 0
styles:
tool:
opacity: 0
transition: opacity 0.5s linear
I also tried that but it didn't do anything at all. I saw 'tools' once as a possibility in one of your examples and figured maybe it was only 'tools' that worked and not a single 'tool'.
Tool styling is indeed broken for at least the enity state tool. I will check what’s changed.
Some of the eslint recommendations broke most of my cards while I was changing the development environment. This is either one of those results, or something completely different. It will be solved though.
Uom styling still unclear. The styleMap for uom is processed by the renderer, so probably the style builder has some error that is causing this bug.
Closed with #222
This is working great now :D Tool still didnt work but uom and state seperately did the trick.
Swiss Army Knife version
2.4.4
Bug description
Impossible to change opacity of 'uom' through animations. maybe other styles too?
To Reproduce
tested on 2 different cards/entities/... state works but uom doesn't
Expected behavior
for the uom to follow the state animation
Screenshots