Skip to content

Fix MQTT creating unnamed device in Home Assistant#240

Open
rianbk wants to merge 1 commit intobohdan-s:mainfrom
rianbk:fix/mqtt-unnamed-device
Open

Fix MQTT creating unnamed device in Home Assistant#240
rianbk wants to merge 1 commit intobohdan-s:mainfrom
rianbk:fix/mqtt-unnamed-device

Conversation

@rianbk
Copy link
Copy Markdown
Contributor

@rianbk rianbk commented Dec 22, 2025

Summary

  • Removes via_device: "SunGather" from Home Assistant MQTT discovery messages
  • This field referenced a non-existent device, causing HA to create an empty "Unnamed device"
  • The inverter device now appears standalone without a phantom parent device

Background

The via_device field in HA discovery is meant to link devices in a hierarchy (e.g., sensors through a hub). However, no "SunGather" device was ever registered, so HA created an empty placeholder.

Test plan

  • Enable MQTT with homeassistant: true
  • Check MQTT integration in Home Assistant
  • Verify only the inverter device appears (no "Unnamed device")

Remove via_device field from HA discovery which referenced a non-existent
"SunGather" device, causing Home Assistant to create an empty "Unnamed device".
@rianbk rianbk force-pushed the fix/mqtt-unnamed-device branch from 62d3364 to 5657561 Compare January 9, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant