Skip to content

Commit

Permalink
readme section calculate_to_now_undef and ignore_undef: corrected ( d…
Browse files Browse the repository at this point in the history
…efault value moved to new line)
  • Loading branch information
justinh998 committed Feb 9, 2025
1 parent 1cd15e5 commit 9b00290
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**:\
Expand Down

0 comments on commit 9b00290

Please sign in to comment.