Is it possible to animate the icon? #178
johndoe0815
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Other cards like button card and bubble card have the feature that you can make the icon rotating, e.g. for bubble card:
styles: |-
.bubble-icon {
animation: ${hass.states['fan.you_fan'].state === 'on' ? 'slow-rotate 2s linear infinite' : ''};
}
@Keyframes slow-rotate {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
Is that somehow also possible for the timer-bar-card?
Beta Was this translation helpful? Give feedback.
All reactions