Fronius SolarApi: mark charge mode as not available (#16121)

This commit is contained in:
andig 2024-09-15 11:50:20 +02:00 • committed by GitHub
parent f7b83fa8f5
commit f3fb1c1ae2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -76,18 +76,22 @@ render: |
user: {{ .user }}
password: {{ .password }}
body: '{"timeofuse":[{"Active":true,"Power":0,"ScheduleType":"DISCHARGE_MAX","TimeTable":{"Start":"00:00","End":"23:59"},"Weekdays":{"Mon":true,"Tue":true,"Wed":true,"Thu":true,"Fri":true,"Sat":true,"Sun":true}}]}'
- case: 3 # charge
- case: 3 # charge (not implemented -> normal)
set:
source: http
uri: http://{{ .host }}/config/timeofuse
method: POST
headers:
- content-type: application/json
auth:
type: digest
user: {{ .user }}
password: {{ .password }}
body: '{"timeofuse":[]}'
source: sequence
set:
- source: http
uri: http://{{ .host }}/config/timeofuse
method: POST
headers:
- content-type: application/json
auth:
type: digest
user: {{ .user }}
password: {{ .password }}
body: '{"timeofuse":[]}'
- source: error
error: ErrNotAvailable
{{- end }}
capacity: {{ .capacity }} # kWh
{{- end }}