From 9b002907f2600a3560f4ce418e41649105496e82 Mon Sep 17 00:00:00 2001 From: Justin Hahn Date: Sun, 9 Feb 2025 20:11:20 +0100 Subject: [PATCH] readme section calculate_to_now_undef and ignore_undef: corrected ( default value moved to new line) --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0d165cc..2bc1f63 100644 --- a/README.md +++ b/README.md @@ -142,13 +142,13 @@ I put a lot of work into making this repo and component available and updated to **ignore_undef**:\ _(template) (Optional)_\ - Determines whether the average entity should become unavailable if all source entities become unavailable(value 0), or whether it should simply calculate the average up to the last known value and timestamp of the source entity, even if the latest values are unavailable(value 1). - _Default value: 0_ + Determines whether the average entity should become unavailable if all source entities become unavailable(value 0), or whether it should simply calculate the average up to the last known value and timestamp of the source entity, even if the latest values are unavailable(value 1).\ + _Default value: 0_ **calculate_to_now_undef**:\ _(template) (Optional)_\ Determines whether, if the source entity is unavailable and that is ignored (`ignore_undef`), it is assumed that the last valid status is valid until now(value 1). For example, if at 8 o'clock the entity had a value of 112 and was then unavailable, if this option is enabled, it is assumed that the entity retains this value until now (assuming it is now 9 o'clock) and this is calculated. If this option is disabled, the calculation only considers the period up to 8 o'clock and the time period from then until now is omitted. - ignore_undef must be set to 1 in order to use this option. + ignore_undef must be set to 1 in order to use this option\ _Default value: 0_ **duration**:\