BrewPi/firmware

stringToTemp should result in INVALID_TEMP for null or None

Closed this issue · 1 comments

When the script sends 'null' or 'None' to the controller, the temperature is set to 0.0, it should be set to INVALID_TEMP instead (which is shown as --.- on the screen.

Done in 0.2.9. null is only accepted when converting to a temperature and results in DISABLED_TEMP. None has not been implemented, the script has to make sure it sends valid json strings and not Python types. true and false have been added too.