Sometimes a solution can be very simple. Graphing numbers and boolean: temperature and heating. Add the temperatures to the left axis and the heating state to the right axis with min and max as 0 and 1 respectively.