ac-elwa-2: add tempsource (#22540)

This commit is contained in:
andig 2025-07-26 14:42:43 +02:00 • committed by GitHub
parent 4cba60457c
commit 1dd5ce896a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 1 deletions

View file

@ -15,7 +15,11 @@ params:
description:
en: "Scale factor for power limit"
de: "Skalierungsfaktor der Leistungsvorgabe"
- name: tempsource
choice: ["1", "2"]
default: "1"
render: |
type: ac-elwa-2
{{- include "modbus" . }}
scale: {{ .scale }}
tempsource: {{ .tempsource }}

View file

@ -7,6 +7,9 @@ params:
- name: usage
choice: ["aux"]
- name: host
- name: tempsource
choice: ["1", "2"]
default: "1"
render: |
type: custom
power:
@ -16,5 +19,5 @@ render: |
soc:
source: http
uri: http://{{ .host }}/data.jsn
jq: .temp1
jq: .temp{{ .tempsource }}
scale: 0.1