Part of upcoming release in 2025!
The ProgPath tool¶
4.0.1 · Output
The progress path tool is an advanced tool that can display a sensor value on different path types like: line, spiral, rectangle and circle. Each type can have its own variants and specific functionality.
This tool is still beta / highly experimental
Some examples:
-
Sensor with ProgPath "Spiral/Helix"
A sensor card with a progpath showing the actual power usage using a smooth colorstop.
-
Sensor with ProgPath "Spiral/Spiral"
A sensor card with a progpath showing the actual power usage using a smooth colorstop.
-
Sensor with ProgPath "Line"
A sensor card with a progpath showing the actual power usage using a stepped colorstop.
-
Sensor with ProgPath "Circle"
A sensor card with a progpath showing the actual power usage using a stepped colorstop.
-
Sensor with ProgPath "Rectangle"
A sensor card with a progpath showing the actual power usage using a stepped colorstop.
-
Sensor with ProgPath "Rectangle"
A sensor card with a progpath showing the actual power usage using a single color for the active path.
Basic Usage¶
The ProgPath tool needs at least a path_type
and some other show
field settings:
Basic show config | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
|
Field | Value | Description |
---|---|---|
path_type | spiral , line , circle , rectangle | The type of Progress Path |
variant | depends on path_type | See specific type for possible variants |
Main show
fields that enable/disable/set the various components of the ProgPath tool:
show field | Value | Description |
---|---|---|
background | true ,false | Add background track yes/no |
track | none , colorstops , dashes | How to display the track |
active_track | true , false | TBD |
marker | none , pan-vertical , navigation , etc. | Type of marker @ current position |
mask | true , false | TBD |
scale | none , colorstops | Show scale as colorstops, or no scale |
Configuration of separate components like background, track, marker, etc.
Basic show config | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 |
|
Styling¶
The ProgPath 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 |
ProgPath - Spiral¶
Basic definition¶
path_type | variant | Description |
---|---|---|
spiral | arch_spiral | A true spiral from inside to outside |
spiral | arch_helix | A helix with configurable angle and offsets |
Specific spiral
and arch_helix
definitions¶
Basic show config | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 |
|
Field | Value | Description |
---|---|---|
points | number | Number of points (or segments) used to draw the spiral/helix. More points give smoother curves. Too many will hamper performance. Experiment! |
degrees | degrees | Total number of turns for the spiral/helix. A full turn is 360 degrees. So 1800 is 5 turns. |
Helix Fields | Value | Description |
---|---|---|
hw_ratio | number | Defaults to 0. Determines the viewing angle. 0.5 gives you overlapping turns, and a view from above... |
iso_angle | degrees | Default to 90 for vertical helix |
offset_y | number | Vertical space between helix turns. |
offset_x | number | Horizontal adjustment bottom of helix. A positive value will move the bottom side to the right, a negative value to the left. It determines the relative position of the bottom in relation to the top. |
Examples with different hw_ratio, y and x¶
-
Helix, hw=0.5, y=10, x=0
-
Helix, hw=0.75, y=10, x=0
-
Helix, hw=0.25, y=20, x=0
-
Helix, hw=0, y=40, x=10
ProgPath - Line¶
Basic definition¶
path_type | variant | Description |
---|---|---|
line | none | A line is a line... |
Specific line
¶
Basic show config | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 |
|
And then the line and scale config:
Line and Scale config | |
---|---|
1 2 3 4 5 6 7 8 9 |
|
ProgPath - Circle¶
Basic definition¶
path_type | variant | Description |
---|---|---|
circle | none | A circle is a circle... |
Specific circle
¶
Basic show config | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 |
|
And then the circle, scale and marker definitions:
Circle, Scale and Marker config | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
ProgPath - Rectangle¶
Basic definition¶
path_type | variant | Description |
---|---|---|
rectangle | none | A rectangle is a rectangle... |
Specific rectangle
¶
Basic show config | |
---|---|
1 2 3 4 5 6 7 8 9 10 11 |
|
Example card and definition¶
Full definition of example card
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 |
|
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. |