def __init__(self, hass, name, entity_ids):
    'Initialize the QRCode entity.'
    super().__init__()
    self._hass = hass
    self._name = name
    self._entities = entity_ids
    self._image = io.BytesIO()
    self._refresh_()
Initialize the QRCode entity.
def __init__(self, hass, name, entity_ids):
    
    super().__init__()
    self._hass = hass
    self._name = name
    self._entities = entity_ids
    self._image = io.BytesIO()
    self._refresh_()