From 3ba8edb59a36f0ae639919ec6910245076023df4 Mon Sep 17 00:00:00 2001 From: Homelab Cursor Date: Sat, 1 Aug 2026 15:30:31 +0200 Subject: [PATCH] shelly_mcp: Gen-Feld in Status aus Device-Config --- infra/hermes/shelly_mcp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/hermes/shelly_mcp.py b/infra/hermes/shelly_mcp.py index 9836c4f34..891192806 100755 --- a/infra/hermes/shelly_mcp.py +++ b/infra/hermes/shelly_mcp.py @@ -231,7 +231,7 @@ def _status_gen2(d: dict) -> dict: out: dict = { "ip": ip, "name": (info.get("name") if isinstance(info, dict) else None) or d["name"], - "gen": 2, + "gen": int(d.get("gen", 2)), "kind": d["kind"], "id": info.get("id") if isinstance(info, dict) else None, }