From 7d4bb61636f13e4cffb42348624b1adf15979b3d Mon Sep 17 00:00:00 2001 From: mfuchs1984 <57141790+mfuchs1984@users.noreply.github.com> Date: Sun, 9 Aug 2026 11:36:51 +0200 Subject: [PATCH] Hoymiles AhoyDTU: add cache (#32652) --- templates/definition/meter/hoymiles-ahoydtu.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/definition/meter/hoymiles-ahoydtu.yaml b/templates/definition/meter/hoymiles-ahoydtu.yaml index 85a3c9111..8a7369351 100644 --- a/templates/definition/meter/hoymiles-ahoydtu.yaml +++ b/templates/definition/meter/hoymiles-ahoydtu.yaml @@ -16,13 +16,17 @@ params: de: "Falls mehrere vorhanden. Die Nummerierung beginnt bei 0. Siehe AhoyDTU Webinterface -> Inverter #[ID]" en: "If multiple exist. The numbering starts at 0. See AhoyDTU webinterface -> Inverter #[ID]" default: 0 + - name: cache + default: 1s render: | type: custom power: source: http uri: http://{{ .host }}/api/inverter/id/{{ .id }} jq: .ch[0][2] + cache: {{ .cache }} energy: source: http uri: http://{{ .host }}/api/inverter/id/{{ .id }} jq: .ch[0][6] + cache: {{ .cache }}