fix(somfyprotect2mqtt) fix secret type values (#7508)

* fix(somfyprotect2mqtt) fix secret type values

* bump version

* fix code variable

* remove type

* add SKIPINSTALL
This commit is contained in:
Xstar97TheNoob
2023-02-23 21:35:03 +00:00
committed by GitHub
parent fa1bdbb351
commit 904f33d89c
3 changed files with 12 additions and 10 deletions
@@ -21,7 +21,7 @@ sources:
- https://github.com/truecharts/charts/tree/master/charts/incubator/somfyprotect2mqtt
- https://github.com/Minims/SomfyProtect2MQTT
type: application
version: 0.0.1
version: 0.0.2
annotations:
truecharts.org/catagories: |
- homeautomation
@@ -57,8 +57,8 @@ questions:
label: Alarm Code
description: Code to arm/disarm, Remove code to disable.
schema:
type: string
default: ""
type: int
default: 1234
- variable: alarm_code_arm_required
label: Alarm Code Required
schema:
@@ -22,25 +22,27 @@ stringData:
{{- with $sp2mqtt.somfy.sites }}
sites:
{{- range $site := . }}
- {{ . | quote }}
- {{ . }}
{{- end }}
{{- end }}
homeassistant_config:
code: {{ $sp2mqtt.ha.alarm_code }}
{{- with $sp2mqtt.ha.alarm_code }}
code: {{ . }}
{{- end }}
code_arm_required: {{ ternary "true" "false" $sp2mqtt.ha.alarm_code_arm_required }}
code_disarm_required: {{ ternary "true" "false" $sp2mqtt.ha.alarm_code_disarm_required }}
mqtt:
host: {{ $sp2mqtt.mqtt.host | quote }}
port: {{ $sp2mqtt.mqtt.port | quote }}
host: {{ $sp2mqtt.mqtt.host }}
port: {{ $sp2mqtt.mqtt.port }}
username: {{ $sp2mqtt.mqtt.username | quote }}
password: {{ $sp2mqtt.mqtt.password | quote }}
client-id: {{ $sp2mqtt.mqtt.client_id | quote }}
client-id: {{ $sp2mqtt.mqtt.client_id }}
topic_prefix: {{ $sp2mqtt.mqtt.topic_prefix | quote }}
ha_discover_prefix: {{ $sp2mqtt.mqtt.ha_discover_prefix | quote }}
delay_site: {{ $sp2mqtt.delay_site | quote }}
delay_device: {{ $sp2mqtt.delay_device | quote }}
delay_site: {{ $sp2mqtt.delay_site }}
delay_device: {{ $sp2mqtt.delay_device }}
manual_snapshot: {{ ternary "true" "false" $sp2mqtt.manual_snapshot }}
{{- end -}}