Sensor not showing in state page

Hi there!

i’m using zigbee2mqtt and paired a xiaomi door/window sensor.

In the add-on the sensor shows up and gives it state

 zigbee2mqtt:info 2019-2-17 17:55:54 MQTT publish: topic 'zigbee2mqtt/0x00158d00024605ed', 
payload '{"battery":74,"voltage":2955,"linkquality":55,"contact":false}'
zigbee2mqtt:info 2019-2-17 17:55:56 MQTT publish: topic 'zigbee2mqtt/0x00158d00024605ed', 
payload '{"battery":74,"voltage":2955,"linkquality":57,"contact":true}'

the sensor is also showing as a device in the configuration.yaml file

devices:
  '0x00158d00024605ed':
  friendly_name: '0x00158d00024605ed'
  retain: true
  homeassistant: true
mqtt:
  base_topic: zigbee2mqtt
  server: 'https://192.168.1.13:1883'
permit_join: true
  serial:
  port: /dev/ttyACM0

But in the dev/state page the sensor isn’t there.
I restarted HA, changed the retain to false/true, re-paired the sensor, unistalled the zigbee2mqtt addon and re-installed it. none of them worked