From feccebbd5e8085dfc0c4eb35680250e8d4ef2256 Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Fri, 6 Mar 2026 03:21:47 +0300 Subject: [PATCH 1/3] docs: add remarks regarding "points" --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 6a4567c5..9511870a 100644 --- a/README.md +++ b/README.md @@ -138,13 +138,15 @@ properties of the Entity object detailed in the following table (as per `sensor. | show_graph | boolean | | Set to false to completely hide the entity in the graph. | show_line | boolean | | Set to false to hide the line. | show_fill | boolean | | Set to false to hide the fill. -| show_points | boolean | | Set to false to hide the points. +| show_points | boolean | | Set to false to hide the points (see a note below). | show_legend | boolean | | Set to false to turn hide from the legend. | state_adaptive_color | boolean | | Make the color of the state adapt to the entity color. | y_axis | string | | If 'secondary', displays using the secondary y-axis on the right. | fixed_value | boolean | | Set to true to graph the entity's current state as a fixed value instead of graphing its state history. | smoothing | boolean | | Override for a flag indicating whether to make graph line smooth. +Note: the "points" term is only applicable to a "line" graph, not to a "bar" graph. + ```yaml entities: - sensor.temperature @@ -161,10 +163,10 @@ All properties are optional. |------|:-------:|:-------:|-------------| | name | `true` | `true` / `false` | Display name. | icon | `true` | `true` / `false` | Display icon. -| state | `true` | `true` / `false` / `last` | Display current state. `last` will show the last graph point's value. +| state | `true` | `true` / `false` / `last` | Display current state. `last` will show the last graph point's or bar's value. | graph | `line` | `line` / `bar` / `false` | Display option for the graph. If set to `bar` a maximum of `96` bars will be displayed. | fill | `true` | `true` / `false` / `fade` | Display the line graph fill. -| points | `hover` | `true` / `false` / `hover` | Display graph data points. +| points | `hover` | `true` / `false` / `hover` | Display graph data points (for a line graph only). | legend | `true` | `true` / `false` | Display the graph legend (only shown when graph contains multiple entities). | average | `false` | `true` / `false` | Display average information. | extrema | `false` | `true` / `false` | Display max/min information. From a55501b26df5ab1f537dbd68c50f0de843272e26 Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Fri, 6 Mar 2026 03:29:47 +0300 Subject: [PATCH 2/3] some note --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9511870a..edacd502 100644 --- a/README.md +++ b/README.md @@ -163,7 +163,7 @@ All properties are optional. |------|:-------:|:-------:|-------------| | name | `true` | `true` / `false` | Display name. | icon | `true` | `true` / `false` | Display icon. -| state | `true` | `true` / `false` / `last` | Display current state. `last` will show the last graph point's or bar's value. +| state | `true` | `true` / `false` / `last` | Display current state. `last` will show the last graph point's or bar's value (unless points are not shown for a line graph). | graph | `line` | `line` / `bar` / `false` | Display option for the graph. If set to `bar` a maximum of `96` bars will be displayed. | fill | `true` | `true` / `false` / `fade` | Display the line graph fill. | points | `hover` | `true` / `false` / `hover` | Display graph data points (for a line graph only). From 840af9d65c6b40d23ff4c667f64d77bb21b7c8b8 Mon Sep 17 00:00:00 2001 From: ildar170975 <71872483+ildar170975@users.noreply.github.com> Date: Fri, 6 Mar 2026 03:30:50 +0300 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index edacd502..5c23e472 100644 --- a/README.md +++ b/README.md @@ -163,7 +163,7 @@ All properties are optional. |------|:-------:|:-------:|-------------| | name | `true` | `true` / `false` | Display name. | icon | `true` | `true` / `false` | Display icon. -| state | `true` | `true` / `false` / `last` | Display current state. `last` will show the last graph point's or bar's value (unless points are not shown for a line graph). +| state | `true` | `true` / `false` / `last` | Display current state. `last` will show the last graph point's or bar's value (fallback to `true` if points are not shown for a line graph). | graph | `line` | `line` / `bar` / `false` | Display option for the graph. If set to `bar` a maximum of `96` bars will be displayed. | fill | `true` | `true` / `false` / `fade` | Display the line graph fill. | points | `hover` | `true` / `false` / `hover` | Display graph data points (for a line graph only).