merged
This commit is contained in:
@@ -3,7 +3,11 @@ when:
|
|||||||
ref:
|
ref:
|
||||||
exclude:
|
exclude:
|
||||||
- refs/tags/*-configchange
|
- refs/tags/*-configchange
|
||||||
|
<<<<<<< HEAD
|
||||||
|
|
||||||
|
=======
|
||||||
|
|
||||||
|
>>>>>>> main
|
||||||
steps:
|
steps:
|
||||||
create_namespace:
|
create_namespace:
|
||||||
image: quay.io/wollud1969/k8s-admin-helper:0.3.4
|
image: quay.io/wollud1969/k8s-admin-helper:0.3.4
|
||||||
|
|||||||
@@ -471,21 +471,16 @@ devices:
|
|||||||
name: Heizung
|
name: Heizung
|
||||||
type: thermostat
|
type: thermostat
|
||||||
cap_version: "thermostat@1.0.0"
|
cap_version: "thermostat@1.0.0"
|
||||||
technology: max
|
technology: zigbee2mqtt
|
||||||
features:
|
features:
|
||||||
mode: true
|
heating: true
|
||||||
target: true
|
temperature_range:
|
||||||
current: false
|
- 5
|
||||||
|
- 30
|
||||||
|
temperature_step: 0.5
|
||||||
topics:
|
topics:
|
||||||
set: "homegear/instance1/set/48/1/SET_TEMPERATURE"
|
state: "zigbee2mqtt/0x003c84fffebdcc28"
|
||||||
state: "homegear/instance1/plain/48/1/SET_TEMPERATURE"
|
set: "zigbee2mqtt/0x003c84fffebdcc28/set"
|
||||||
metadata:
|
|
||||||
friendly_name: "Thermostat Bad Unten"
|
|
||||||
location: "Bad Unten"
|
|
||||||
vendor: "eQ-3"
|
|
||||||
model: "MAX! Thermostat"
|
|
||||||
peer_id: "48"
|
|
||||||
channel: "1"
|
|
||||||
- device_id: sterne_wohnzimmer
|
- device_id: sterne_wohnzimmer
|
||||||
homekit_aid: 32
|
homekit_aid: 32
|
||||||
name: Sterne
|
name: Sterne
|
||||||
|
|||||||
15
tools/deploy-configuration.sh
Executable file
15
tools/deploy-configuration.sh
Executable file
@@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
NAMESPACE=homea2
|
||||||
|
|
||||||
|
kubectl create configmap home-automation-config \
|
||||||
|
--from-file=devices.yaml=config/devices.yaml \
|
||||||
|
--from-file=groups.yaml=config/groups.yaml \
|
||||||
|
--from-file=layout.yaml=config/layout.yaml \
|
||||||
|
--from-file=rules.yaml=config/rules.yaml \
|
||||||
|
--from-file=scenes.yaml=config/scenes.yaml \
|
||||||
|
--namespace=$NAMESPACE \
|
||||||
|
--dry-run=client -o yaml | kubectl apply -f -
|
||||||
|
|
||||||
|
kubectl apply -f deployment/configmap.yaml -n $NAMESPACE
|
||||||
|
|
||||||
Reference in New Issue
Block a user