Unexpected Home Assistant Discovery Log Error

OH 5.02 on RPi5 configured entirely with MainUI

I recently added a Droplet water meter device using MQTT. The Droplet does support Home Assistant discovery but I elected not to use it, and I don’t even have the Home Assistant add-on installed.

I use Zigbee2MQTT for all my Zigbee devices and create Generic MQTT Things for each device.

I’m getting an occasional error in the OH event log

[rnal.discovery.HomeAssistantDiscovery] - HomeAssistant discover error: invalid configuration of thing droplet-D08C component device: Failed to process discovery config for device: ValueError: ('Unknown component type %s', 'device')

Is this because OH is sniffing the network looking for Home Assistant devices even though I don’t have the add-on?

The “mqtt” binding includes the home assistant component too in OH 5.0.x and older. It will be split up in 5.1.

that explains it, thanks!

You can turn off the HA Discovery with a property on the MQTT Broker Thing. You need to check show advanced to see it.

I’m not sure how that works on OH 5.1+. I guess just don’t install the add-on?