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/truecharts/charts/tree/master/charts/incubator/somfyprotect2mqtt
- https://github.com/Minims/SomfyProtect2MQTT - https://github.com/Minims/SomfyProtect2MQTT
type: application type: application
version: 0.0.1 version: 0.0.2
annotations: annotations:
truecharts.org/catagories: | truecharts.org/catagories: |
- homeautomation - homeautomation
@@ -57,8 +57,8 @@ questions:
label: Alarm Code label: Alarm Code
description: Code to arm/disarm, Remove code to disable. description: Code to arm/disarm, Remove code to disable.
schema: schema:
type: string type: int
default: "" default: 1234
- variable: alarm_code_arm_required - variable: alarm_code_arm_required
label: Alarm Code Required label: Alarm Code Required
schema: schema:
@@ -22,25 +22,27 @@ stringData:
{{- with $sp2mqtt.somfy.sites }} {{- with $sp2mqtt.somfy.sites }}
sites: sites:
{{- range $site := . }} {{- range $site := . }}
- {{ . | quote }} - {{ . }}
{{- end }} {{- end }}
{{- end }} {{- end }}
homeassistant_config: 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_arm_required: {{ ternary "true" "false" $sp2mqtt.ha.alarm_code_arm_required }}
code_disarm_required: {{ ternary "true" "false" $sp2mqtt.ha.alarm_code_disarm_required }} code_disarm_required: {{ ternary "true" "false" $sp2mqtt.ha.alarm_code_disarm_required }}
mqtt: mqtt:
host: {{ $sp2mqtt.mqtt.host | quote }} host: {{ $sp2mqtt.mqtt.host }}
port: {{ $sp2mqtt.mqtt.port | quote }} port: {{ $sp2mqtt.mqtt.port }}
username: {{ $sp2mqtt.mqtt.username | quote }} username: {{ $sp2mqtt.mqtt.username | quote }}
password: {{ $sp2mqtt.mqtt.password | 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 }} topic_prefix: {{ $sp2mqtt.mqtt.topic_prefix | quote }}
ha_discover_prefix: {{ $sp2mqtt.mqtt.ha_discover_prefix | quote }} ha_discover_prefix: {{ $sp2mqtt.mqtt.ha_discover_prefix | quote }}
delay_site: {{ $sp2mqtt.delay_site | quote }} delay_site: {{ $sp2mqtt.delay_site }}
delay_device: {{ $sp2mqtt.delay_device | quote }} delay_device: {{ $sp2mqtt.delay_device }}
manual_snapshot: {{ ternary "true" "false" $sp2mqtt.manual_snapshot }} manual_snapshot: {{ ternary "true" "false" $sp2mqtt.manual_snapshot }}
{{- end -}} {{- end -}}