get_temp should return None
The get_temp()
function in the heating.py module returns 10
if the temperature is outside of the datasheet range. This would produce wrong measurement values. I think it would be a better approach to return None and do not log this temperature, because we can not say anything about it.