'Initialize the cover.'

def __init__(self, hass, args):

    self.opengarage_url = 'http://{}:{}'.format(args[CONF_HOST], args[CONF_PORT])
    self.hass = hass
    self._name = args[CONF_NAME]
    self.device_id = args['device_id']
    self._devicekey = args[CONF_DEVICEKEY]
    self._state = STATE_UNKNOWN
    self._state_before_move = None
    self.dist = None
    self.signal = None
    self._available = True
