code: def _home_assistant_config(self):
          
          devices = {}
          for scs_id, dev in self._devices.items():
              devices[dev['ha_id']] = {
                  'name': dev['name'],
                  'scs_id': scs_id}
  
          return {'devices': devices}
docs: Creates home assistant configuration for the known devices