diff --git a/esphome/components/binary_sensor/binary_sensor.h b/esphome/components/binary_sensor/binary_sensor.h index 8029ff7fba3..e065088a371 100644 --- a/esphome/components/binary_sensor/binary_sensor.h +++ b/esphome/components/binary_sensor/binary_sensor.h @@ -61,6 +61,7 @@ class BinarySensor : public StatefulEntityBase { /// Return whether this binary sensor has outputted a state. virtual bool is_status_binary_sensor() const; + /// The current state of this binary sensor. Also used as the backing storage for StatefulEntityBase. bool state{}; protected: