Added check for failed thermostat responses

Sometimes the thermostat fails to respond to pings which results in the
inside temperature returned being 0.  Added a check for this condition
so it doesn't get logged.