Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
francois-le-ko4la authored Jan 11, 2025
1 parent 3c1aacc commit 33512cf
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,13 @@ You can customize the card using the following parameters:
- `kWh` for energy consumption.

- **`decimal`** [int >=0] *(optional)*:
Override the default number of decimal places to display for numerical values.
Defines the number of decimal places to display for numerical values.
The `decimal` value will be determined based on the following priority:
- `Display Precision` from the entity (if defined in Home Assistant).
- `decimal` setting in the YAML configuration.
- `Default Value` (if no other value is set).

*by default:*
*Default values:*
- `decimal` = 2 for percentage (%)
- `decimal` = 0 for other unit (°C, kWh...)

Expand Down

0 comments on commit 33512cf

Please sign in to comment.