HAOS Add-on v1.1.2: HA-Gerätename = benutzerdefinierter Wechselrichtername
Statt Modell-Name ("Growatt MIC 1500 TL-X") wird der vom User vergebene
Name ("Dach Süd") als HA-Gerätename in MQTT Discovery verwendet.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -97,7 +97,8 @@ def _poll_loop(inv_cfg: Dict[str, Any], stop: threading.Event):
|
||||
|
||||
with State.lock:
|
||||
if _publisher:
|
||||
_publisher.register_inverter(inverter, device_id, prefix)
|
||||
_publisher.register_inverter(inverter, device_id, prefix,
|
||||
inv_cfg.get("name", inverter.name))
|
||||
|
||||
log.info("[%s] Poll-Loop: %s @ %s:%s alle %ds",
|
||||
inv_id, inverter.name, inv_cfg["modbus_ip"],
|
||||
|
||||
Reference in New Issue
Block a user