From 4352ccda1113ed34dca4ffd11dcd98955b8364f5 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 20 Apr 2024 14:51:47 +0200 Subject: [PATCH] Add missing test file --- test/all_curves.yaml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 test/all_curves.yaml diff --git a/test/all_curves.yaml b/test/all_curves.yaml new file mode 100644 index 0000000..8ba0079 --- /dev/null +++ b/test/all_curves.yaml @@ -0,0 +1,36 @@ +sensors: +- id: test_sensor + sensor: + type: file + path: "test" +curves: + - id: max_curve + function: + type: maximum + sensors: + - test_sensor + - id: avg_curve + function: + type: average + sensors: + - test_sensor + - id: linear_curve + function: + type: linear + sensor: test_sensor + steps: + 1: 50 + 2: 100 + - id: pid_curve + function: + type: pid + p: 1.0 + i: 1.0 + d: 1.0 + sensor: "test_sensor" + target: 5.0 + - id: static_curve + function: + type: static + value: 5 +fans: