From 33512cf3895069617488de00c7afc10286a94314 Mon Sep 17 00:00:00 2001 From: Ko4la Date: Sat, 11 Jan 2025 18:31:09 +0100 Subject: [PATCH] Update README.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index da01487..30563a8 100644 --- a/README.md +++ b/README.md @@ -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...)