Mqtt client component connects to your mqtt broker.
This broker for most cases should be the same broker as Home Assistant broker, so you can’t directly see new device with HA MQTT discovery option.
mqtt:
host: localhost
username: mqtt
password: mqtt
topic_prefix: boneio1
ha_discovery:
enabled: yes