{"record":{"id":"2beb4da4f55c419f","repo":"home-assistant/core","slug":"integrations-disabled","errorCode":"integrations_disabled","errorMessage":"This device doesn't have integrations enabled. Please enable smart home integrations using the app and try again.","messagePattern":"This device doesn't have integrations enabled\\. Please enable smart home integrations using the app and try again\\.","errorType":"error_code","errorClass":"AbortFlow","httpStatus":null,"severity":"error","filePath":"homeassistant/components/aranet/config_flow.py","lineNumber":47,"sourceCode":"    \"\"\"Handle a config flow for Aranet.\"\"\"\n\n    VERSION = 1\n\n    def __init__(self) -> None:\n        \"\"\"Set up a new config flow for Aranet.\"\"\"\n        self._discovery_info: BluetoothServiceInfoBleak | None = None\n        self._discovered_device: Aranet4Advertisement | None = None\n        self._discovered_devices: dict[str, tuple[str, Aranet4Advertisement]] = {}\n\n    def _raise_for_advertisement_errors(self, adv: Aranet4Advertisement) -> None:\n        \"\"\"Raise any configuration errors that apply to an advertisement.\"\"\"\n        # Old versions of firmware don't expose sensor data in advertisements.\n        if not adv.manufacturer_data or adv.manufacturer_data.version < MIN_VERSION:\n            raise AbortFlow(\"outdated_version\")\n\n        # If integrations are disabled, we get no sensor data.\n        if not adv.manufacturer_data.integrations:\n            raise AbortFlow(\"integrations_disabled\")\n\n    @override\n    async def async_step_bluetooth(\n        self, discovery_info: BluetoothServiceInfoBleak\n    ) -> ConfigFlowResult:\n        \"\"\"Handle the Bluetooth discovery step.\"\"\"\n        await self.async_set_unique_id(discovery_info.address)\n        self._abort_if_unique_id_configured()\n        adv = Aranet4Advertisement(discovery_info.device, discovery_info.advertisement)\n        self._raise_for_advertisement_errors(adv)\n\n        self._discovery_info = discovery_info\n        self._discovered_device = adv\n        return await self.async_step_bluetooth_confirm()\n\n    async def async_step_bluetooth_confirm(\n        self, user_input: dict[str, Any] | None = None\n    ) -> ConfigFlowResult:","sourceCodeStart":29,"sourceCodeEnd":65,"githubUrl":"https://github.com/home-assistant/core/blob/58a3fdb3ea0538617f0a07efcfba6294de64fd59/homeassistant/components/aranet/config_flow.py#L29-L65","documentation":"AbortFlow with reason 'integrations_disabled' in the Aranet config flow. The advertisement's manufacturer data shows the device's 'integrations' flag is off, meaning the user disabled smart-home integrations in the Aranet app, so no sensor data is broadcast and the integration cannot work.","triggerScenarios":"_raise_for_advertisement_errors is called with an Aranet4Advertisement whose manufacturer_data is present and version is OK but manufacturer_data.integrations is falsy; the flow aborts before saving the device.","commonSituations":"Aranet4 shipped with smart home integrations turned off by default for privacy; user toggled the setting off; device re-configured after a reset.","solutions":["Open the Aranet app, enable the smart home / integrations option for the device, then retry discovery in Home Assistant.","Trigger a fresh BLE advertisement (press the button on the device or wait for the next broadcast cycle) so the updated flag is seen.","If it still aborts, delete the aborted flow and start setup again."],"exampleFix":null,"handlingStrategy":"validation","validationCode":"def integrations_enabled(adv: Aranet4Advertisement) -> bool:\n    md = adv.manufacturer_data\n    return md is not None and bool(md.integrations)","typeGuard":null,"tryCatchPattern":"Catch AbortFlow around async_step_bluetooth and map reason 'integrations_disabled' to a user-facing instruction to enable integrations in the Aranet app.","preventionTips":["Enable smart home integrations in the Aranet app during device provisioning.","Re-check the flag after any device reset.","Validate adv.manufacturer_data.integrations before offering setup."],"tags":["home-assistant","aranet","bluetooth","configuration","config-flow"],"backgroundTag":null,"analyzedSha":"58a3fdb3ea0538617f0a07efcfba6294de64fd59","analyzedAt":"2026-08-14T20:54:38.818Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}