[opentherm] Initialize output state before the first write (#18126)

This commit is contained in:
Jonathan Swoboda
2026-08-06 21:46:37 -04:00
committed by GitHub
parent 96f0ea10f4
commit bf95be5550
@@ -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; }