From 50cbc18157d1dafef80e652f33ef2d28a83f2cef Mon Sep 17 00:00:00 2001 From: andig Date: Wed, 26 Nov 2025 18:47:30 +0100 Subject: [PATCH] Viessmann: fix decoding auth --- templates/definition/charger/viessmann.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/definition/charger/viessmann.yaml b/templates/definition/charger/viessmann.yaml index b05966a6a..48d80ec41 100644 --- a/templates/definition/charger/viessmann.yaml +++ b/templates/definition/charger/viessmann.yaml @@ -162,7 +162,7 @@ render: | source: viessmann clientid: {{ .clientid }} redirecturi: {{ .redirecturi }} - gateway: {{ .gateway_serial }} + gateway_serial: {{ .gateway_serial }} jq: '.data.properties.active.value | if . == false then 2 elif . == true then 3 else . end' # false -> oneTimeCharge is disabled -> normal mode -> 2 # true -> oneTimeCharge is enabled -> boost mode -> 3 @@ -184,7 +184,7 @@ render: | source: viessmann clientid: {{ .clientid }} redirecturi: {{ .redirecturi }} - gateway: {{ .gateway_serial }} + gateway_serial: {{ .gateway_serial }} body: > { } - case: 3 # boost @@ -198,7 +198,7 @@ render: | source: viessmann clientid: {{ .clientid }} redirecturi: {{ .redirecturi }} - gateway: {{ .gateway_serial }} + gateway_serial: {{ .gateway_serial }} body: > { } - case: 1 # dimm