Skip to content

SelectionBase suppresses the output of unknown values #91

@Guzz-T

Description

@Guzz-T

Currently the function SelectionBase.from_heatpump is implemented as follows:

if value in self.codes:
    return self.codes.get(value)
return None

As a result, if the value is not present in the look-up table, None is returned.
It would make "reverse engineering" much easier if the raw value is otherwise returned here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions