From bf95be555071b3831ddf509178a18c6f9e22d987 Mon Sep 17 00:00:00 2001 From: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com> Date: Thu, 6 Aug 2026 21:46:37 -0400 Subject: [PATCH] [opentherm] Initialize output state before the first write (#18126) --- esphome/components/opentherm/output/opentherm_output.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/opentherm/output/opentherm_output.h b/esphome/components/opentherm/output/opentherm_output.h index 24d5052076..da2082963d 100644 --- a/esphome/components/opentherm/output/opentherm_output.h +++ b/esphome/components/opentherm/output/opentherm_output.h @@ -14,7 +14,7 @@ class OpenthermOutput final : public output::FloatOutput, public Component, publ float min_value_, max_value_; public: - float state; + float state{0.0f}; void set_id(const char *id) { this->id_ = id; }