Home Assistant receives messages from Device but doesn't offer integration

My Home assistant installation receives the MQTT messages from my Window sensor, but does not offer me to integrate it as an entity or device. Do I have to manually integrate every single Zigbee device? I thought it should be able to discover those automatically? How do I activate that?

I have Home Assistant, a Mosquitto Broker and Zigbee2MQTT all running in seperate docker containers. I have connected a Window sensor to my Zigbee2MQTT and it sends the messages to Mosquitto reliably and Home Assistant can receive the topics in the mqtt integration as shown in the following screenshot. This is from me opening and closing my window while listening to the topic.

Also I used a MQTT client to connect to the Mosquitto Broker, and it shows other messages like “zigbee2mqtt/bridge/devices” which contains a device definition of the window sensor. I read a bit about it online and my understanding is, that home assistant should automatically understand all the sensors of the device based on that information.

{
"date_code": "2019.12.12",
"definition": {
    "description": "Silvercrest smart window and door sensor",
    "exposes": [
    {
        "access": 1,
        "description": "Indicates if the contact is closed (= true) or open (= false)",
        "name": "contact",
        "property": "contact",
        "type": "binary",
        "value_off": true,
        "value_on": false
    },
    {
        "access": 1,
        "description": "Indicates if the battery of this device is almost empty",
        "name": "battery_low",
        "property": "battery_low",
        "type": "binary",
        "value_off": false,
        "value_on": true
    },
    {
        "access": 1,
        "description": "Indicates whether the device is tampered",
        "name": "tamper",
        "property": "tamper",
        "type": "binary",
        "value_off": false,
        "value_on": true
    },
    {
        "access": 1,
        "description": "Remaining battery in %",
        "name": "battery",
        "property": "battery",
        "type": "numeric",
        "unit": "%",
        "value_max": 100,
        "value_min": 0
    },
    {
        "access": 1,
        "description": "Link quality (signal strength)",
        "name": "linkquality",
        "property": "linkquality",
        "type": "numeric",
        "unit": "lqi",
        "value_max": 255,
        "value_min": 0
    }
    ],
    "model": "HG06336",
    "options": [],
    "supports_ota": false,
    "vendor": "Lidl"
},
"endpoints": {
    "1": {
    "bindings": [
        {
        "cluster": "genPowerCfg",
        "target": {
            "endpoint": 1,
            "ieee_address": "0x00212effff07b680",
            "type": "endpoint"
        }
        }
    ],
    "clusters": {
        "input": [
        "genBasic",
        "genPowerCfg",
        "genIdentify",
        "ssIasZone",
        "haDiagnostic"
        ],
        "output": [
        "genOta"
        ]
    },
    "configured_reportings": [],
    "scenes": []
    }
},
"friendly_name": "0xec1bbdfffeb078d5",
"ieee_address": "0xec1bbdfffeb078d5",
"interview_completed": true,
"interviewing": false,
"manufacturer": "_TZ1800_ejwkn2h2",
"model_id": "TY0203",
"network_address": 3788,
"power_source": "Battery",
"supported": true,
"type": "EndDevice"
}

I’m probably just missing something stupid but I just don’t know what. Please help me this drives me crazy.

Did you set

homeassistant: true

in Zigbee2mqtt’s configuration.yaml ?

YEEEEEESSSS! How the fuck did that not show up in my guides. Thank you.