I seem to have my MQTT broker setup correctly in Solar Assistant and Home Assistant. Under Intergrations, MQTT, Configure, Listen to a topic > start listening, I can see many messages from my solar_assistant:
Message 370 received on solar_assistant/total/battery_state_of_charge/state at 1:12 PM:
74
QoS: 0 - Retain: false
If I go to setting > device & services > device (tab) > I do not see anything from solar assistant. I have rebooted HA a least 3 times and have waited for more than half hour, but nothing from solar_assistant. Any suggestions on how to proceed?
Found the answer with AI (scary, I know) Asked Chatgpt the same as my original post and #3 was correct–I did not have the Discovery prefix as homeassistant (I had solar_assistant). Changed it the configuration and reloaded and the measurements showed up.
3. Verify MQTT Discovery is Enabled in HA
You said you’ve enabled it, but just to confirm:
Go to Settings > Devices & Services > MQTT > Configure and make sure:
Check mark button
“Enable MQTT Discovery” is ON
Check mark button
Discovery prefix is homeassistant (this is default, and Solar Assistant would need to match it if it supported discovery)