From 79de4e787f84f033cf71145143676944c2d7b243 Mon Sep 17 00:00:00 2001 From: dcbr <15089458+dcbr@users.noreply.github.com> Date: Tue, 21 Jan 2025 07:55:45 +0000 Subject: [PATCH] Fix readme formatting --- readme.md | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index 96eb01d..ca0d3ab 100644 --- a/readme.md +++ b/readme.md @@ -1072,9 +1072,8 @@ Below is an example YAML configuration that is split into several corresponding
YAML configuration | -Preset configurations |
---|---|
```yaml
@@ -1082,7 +1081,10 @@ hours_to_show: current_day
time_offset: -24h
defaults:
entity:
- hovertemplate: "$fn ({ get }) => `%{y:,.1f} ${get('.unit_of_measurement')} |
+|
Preset configurations | +|
```js
@@ -1101,7 +1108,9 @@ window.PlotlyGraphCardPresets = {
simpleHover: { // Start of preset with name 'simpleHover'
defaults: {
entity: {
- hovertemplate: ({get}) => `%{y:,.1f} ${get(".unit_of_measurement")} |