It was missing the test condition for the temperature sensor. Signed-off-by: Nick Ward <nix.ward@gmail.com>