Part of upcoming release in 2025!
The Sparkline tool¶
4.0.1 · Output
Some examples:
-
Sensor with Sparkline "Line"
A sensor card with a sparkline showing the history of today.
-
Sensor with Sparkline "Area"
A sensor card with a sparkline showing the history of today.
-
Sensor with Sparkline "Barcode/Audio"
A sensor card with a sparkline showing the history of today.
-
Sensor with Sparkline "Bar"
A sensor card with a sparkline showing the history of today.
-
Sensor with Sparkline "Dots"
A sensor card with a sparkline showing the history of today.
-
Sensor with Sparkline "Graded/Rank"
A sensor card with a sparkline showing the history of today.
Styling¶
The Sparkline tool has support for the following forms of styling:
Method | Support | Description |
---|---|---|
classes | Using SAK or User defined class definitions | |
styles | Using inline SVG and CSS styles |
Haptics¶
See: https://companion.home-assistant.io/docs/integrations/haptics/ for devices that support haptics
The tool supports haptic feedback through user_actions
/ tap_action
definition
Action | Haptic | Description |
---|---|---|
Click | haptic | Uses the haptic property defined in the user_actions definition of the tool. If not specified, a default of medium is used |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
Possible values for haptic feedback:
Haptic | Description |
---|---|
success | Indicates that a task or action has completed. |
warning | Indicates that a task or action has produced a warning of some kind. |
failure | Indicates that a task or action has failed. |
light | Provides a physical metaphor that complements the visual experience. |
medium | Provides a physical metaphor that complements the visual experience. |
heavy | Provides a physical metaphor that complements the visual experience. |
selection | Indicates that the selection is actively changing. |