From cd35ead890a934d474093e6c9791c5551e08ce04 Mon Sep 17 00:00:00 2001 From: Wumpf Date: Tue, 24 May 2022 03:00:06 +0200 Subject: [PATCH] [scd4x] Fix not passing arguments to templatable value for perform_forced_calibration (#3495) --- esphome/components/scd4x/automation.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/scd4x/automation.h b/esphome/components/scd4x/automation.h index 21ecb2ea4c..dc43e9eb56 100644 --- a/esphome/components/scd4x/automation.h +++ b/esphome/components/scd4x/automation.h @@ -11,7 +11,7 @@ template class PerformForcedCalibrationAction : public Actionvalue_.has_value()) { - this->parent_->perform_forced_calibration(value_.value()); + this->parent_->perform_forced_calibration(this->value_.value(x...)); } }