mirror of
https://github.com/esphome/esphome.git
synced 2026-09-18 10:38:38 +00:00
[number] Initialize Number::state (#19114)
This commit is contained in:
@@ -28,7 +28,7 @@ class Number;
|
||||
*/
|
||||
class Number : public EntityBase {
|
||||
public:
|
||||
float state;
|
||||
float state{};
|
||||
|
||||
void publish_state(float state);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user