⬆️ home-assistant app-template v2

This commit is contained in:
auricom
2023-11-01 11:21:02 +01:00
parent 462e2cb6a0
commit a052c1700a
13 changed files with 222 additions and 140 deletions

View File

@@ -51,10 +51,3 @@ spec:
- class
- vendor
- device
custom:
- name: "rflink"
matchOn:
- usbId:
class: ["02"]
vendor: ["2341"]
device: ["0042"]

View File

@@ -6,4 +6,5 @@ namespace: kube-system
resources:
- ./aeotec-zwave-device.yaml
- ./google-coral-device.yaml
- ./nodo-rflink-device.yaml
- ./zzh-zigbee-device.yaml

View File

@@ -0,0 +1,18 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.devbu.io/nfd.k8s-sigs.io/nodefeaturerule_v1alpha1.json
apiVersion: nfd.k8s-sigs.io/v1alpha1
kind: NodeFeatureRule
metadata:
name: nodo-rflink-device
spec:
rules:
- # Nodo-Shop RFlink SOMFY
name: nodo.rflink
labels:
nodo.feature.node.kubernetes.io/rflink: "true"
matchFeatures:
- feature: usb.device
matchExpressions:
class: { op: In, value: ["02"] }
vendor: { op: In, value: ["2341"] }
device: { op: In, value: ["0042"] }