def device_info(self) -> DeviceInfo:
        """Return the device info, used to group this and adjacent entities in the UI."""
        return DeviceInfo(
            identifiers={
                (DOMAIN, self._name),
            },
            name=self._name,
            entry_type=DeviceEntryType.SERVICE,
        )
Return the device info, used to group this and adjacent entities in the UI.
custom_components/adaptive_lighting/switch.py