Publish attributes to MQTT

Hi all, I’ve recently added a deCONZ gateway and a few Xiaomi sensors into my setup, but I’ve run into bit of a snag.

I’m trying to publish data from the Xiaomi vibration sensor to MQTT and, so far, I can only get it to show ‘state’.

This is what I’ve got in my configuration.yaml

  base_topic: qwert
      - binary_sensor.vibration_sensor

How do I get it to show the other information as well?

Thanks in advance.

Set the publish_attributes option to true (it’s false by default).

1 Like

Hi, I forgot to say thanks, that does exactly what I need it to. Thanks.