From 62c7499d3165a7737eaa04271f22976aa3bb6122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20F=C3=A9lix?= Date: Mon, 29 May 2023 17:42:59 +0200 Subject: [PATCH] docs: add state_of_charge options --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 4df2dce..60a9434 100644 --- a/README.md +++ b/README.md @@ -164,6 +164,9 @@ At least one of _grid_, _battery_, or _solar_ is required. All entites (except _ | ----------- | ------- | -------- | ------------------------------------------------------------------------------------------------- | | entity | `object` | `undefined` required | Object containing `production` and/or `consumption` properties with an Entity ID of a sensor supporting a state with positive values. Check [split entites](#split-entities) for more info. | | state_of_charge | `string` | `undefined` required | Entity ID providing a state with the state of charge of the battery in percent (state of `100` for a full battery). | +| state_of_charge_unit | `string` | `%` | Unit of the state of charge. | +| state_of_charge_unit_white_space | `boolean` | `true` | If set to `false`, the unit of the state of charge will not have a white space in front of it. | +| state_of_charge_decimals | `number` | `0` | Number of decimals to show for the state of charge. | | name | `string` | `Battery` | Label for the battery option. If you don't populate this option, the label will continue to update based on the language selected. | | icon | `string` | `mdi:battery` or dynamic based on state of the battery | Icon path for the icon inside the Battery Circle. | | color | `object` | | Check [Color Objects](#color-object) for more information. |