From 1d32aeb7efa53e06422fa53ccbed16339dccacd0 Mon Sep 17 00:00:00 2001 From: "Benjamin B. Frost" Date: Thu, 16 Jan 2025 09:51:23 +0100 Subject: [PATCH] kmtronic: add examples Signed-off-by: Benjamin B. Frost --- examples/kmtronic/kmtronic-exporter.yaml | 6 ++++++ examples/kmtronic/kmtronic.yaml | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 examples/kmtronic/kmtronic-exporter.yaml create mode 100644 examples/kmtronic/kmtronic.yaml diff --git a/examples/kmtronic/kmtronic-exporter.yaml b/examples/kmtronic/kmtronic-exporter.yaml new file mode 100644 index 000000000..c9a5a41e6 --- /dev/null +++ b/examples/kmtronic/kmtronic-exporter.yaml @@ -0,0 +1,6 @@ +main: + location: Work Desk + KMTronicRelay: + channel: 3 + match: + ID_SERIAL_SHORT: 'AB0LBF2U' diff --git a/examples/kmtronic/kmtronic.yaml b/examples/kmtronic/kmtronic.yaml new file mode 100644 index 000000000..e2f4debaf --- /dev/null +++ b/examples/kmtronic/kmtronic.yaml @@ -0,0 +1,10 @@ +targets: + main: + resources: + KMTronicRelay: + channel: 3 + + drivers: + KMTronicRelayDriver: {} + DigitalOutputPowerDriver: + delay: 2.0