Animations¶
Use animations to draw attention to a state change, highlight an active device, or change a tool's appearance.
Animate a matching state¶
Give the target tool an animation_id:
Then describe what happens for a state:
entity.0 watches the first card entity. The matching animation_id identifies the tool that changes.
Included animation names¶
Common choices include:
pulseflashheartBeatjelloshakeswingzoomInzoomOut
Use them through the CSS animation property.
Use a dynamic style¶
For a numeric threshold or a condition involving several entities, put the condition directly in the style:
See JavaScript templates for the available values and more examples.