From 8b178f75f9c9248c8d6ddb0549a984bf19d787c9 Mon Sep 17 00:00:00 2001 From: KaufHA Date: Sat, 19 Nov 2022 13:29:40 -0700 Subject: up calibration limit --- kauf-plug-factory.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kauf-plug-factory.yaml b/kauf-plug-factory.yaml index 3cdf9f3..8347348 100644 --- a/kauf-plug-factory.yaml +++ b/kauf-plug-factory.yaml @@ -39,7 +39,7 @@ script: # set scaling factors to expected test load. # required ranges helps prevent calibration without proper test load. - lambda: |- - if ( (id(wattage).state > 20) && (id(wattage).state < 33) ) { + if ( (id(wattage).state > 20) && (id(wattage).state < 40) ) { auto call = id(scale_power).make_call(); call.set_value(ceil((10.0f*100.0f*26.800f) / id(wattage).state) / 10.0f); call.perform(); -- cgit v1.2.3