How to automatically discover binary sensor devices through discovery topic

The error message is correct, there’s no such thing as a Presence integration.

Your MQTT Discovery topic contains the word “presence”. Change it to “binary_sensor”.

homeassistant/binary_sensor/portal-body-sensor/config

The MQTT Discovery payload is correct; presence is a valid value for a Binary Sensor’s device_class.

1 Like