Creates home assistant configuration for the known devices

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

        return {'devices': devices}