Skip to content

Warnings generated from incomplete logic implementation #90

@spahrenk

Description

@spahrenk

Inline logic, as shown below, generates as "true" in the source code.

absolute_temperature:
   Required: "if !differential_temperature"
...

differential_temperature:
   Required: "if !absolute_temperature"

The unspecified choice is treated as "required", which triggers a warning in load-object.h

if (required)
{
    logger->send_warning(ex.what());
}

As a result, many warnings are generated in cse reports such as

???     COMMANDS.CSE(1567): Warning: DHWHeater 'HPWH' of DHWSYS 'DS1': 
???         [json.exception.out_of_range.403] key 'absolute_temperature' not found

These cause diffs and are not very helpful in this context. Is it possible to suppress the warnings until the inline logic is implemented?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions