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.
Currently the function SelectionBase.from_heatpump is implemented as follows:
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.