Skip to content

[sagercaster] Configuration option observation-period is ambigeous #19564

@lsiepel

Description

@lsiepel

This parameter is declared as :
<parameter name="observation-period" type="integer" min="0" max="6" required="true">

It is documented as:
observationDescription = Sager WeatherCaster needs a minimum representative period of time to produce meaningfull results (defaults to 6 hours).

So the default of 6 is also the max. What happens when set to 0. The bindings does not seem to handle this case.

I think it should be:
<parameter name="observation-period" type="integer" min="1" required="true">

Metadata

Metadata

Assignees

Labels

bugAn unexpected problem or unintended behavior of an add-on

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions