mirror of
https://github.com/esphome/esphome.git
synced 2026-08-22 22:26:21 +00:00
[opentherm] Initialize output state before the first write (#18126)
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user