'Return the current state of the thermostat.'

@property
def current_operation(self):

    state = self._pdp.hvac_state
    if (state in (1, 2)):
        return STATE_IDLE
    elif (state == 3):
        return STATE_HEAT
    elif (state == 6):
        return STATE_COOL
