mirror of
https://github.com/esphome/esphome.git
synced 2026-09-16 17:48:40 +00:00
[binary_sensor] Restore comment on state member
This commit is contained in:
@@ -61,6 +61,7 @@ class BinarySensor : public StatefulEntityBase<bool> {
|
||||
/// 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:
|
||||
|
||||
Reference in New Issue
Block a user