code: def _add_device(self, scs_id, ha_id, name):
          
          if scs_id in self._devices:
              return
  
          self._devices[scs_id] = {
              'name': name,
              'ha_id': ha_id
          }
docs: Add device to the list of known ones