'Initialize the Z-Wave rollershutter.'

def __init__(self, hass, values, invert_buttons):

    ZWaveDeviceEntity.__init__(self, values, DOMAIN)
    self._network = hass.data[zwave.const.DATA_NETWORK]
    self._open_id = None
    self._close_id = None
    self._current_position = None
    self._invert_buttons = invert_buttons
    self._workaround = workaround.get_device_mapping(values.primary)
    if self._workaround:
        _LOGGER.debug('Using    workaround    %s', self._workaround)
    self.update_properties()
