'Return user preference setting for hold time.'

def hold_preference(self):

    default = self.thermostat['settings']['holdAction']
    if (default == 'nextTransition'):
        return default
    return 'nextTransition'
