Revert "[binary_sensor] initial state refactor" (#8828)
This commit is contained in:
1 parent
18ac1b7c54
commit
44470f31f6
4 files changed
+42
-38
No files matched your search
@@ -67,7 +67,7 @@ class BinarySensor : public EntityBase, public EntityBase_DeviceClass {
|
||||
|
||||
// ========== INTERNAL METHODS ==========
|
||||
// (In most use cases you won't need these)
|
||||
void send_state_internal(bool state);
|
||||
void send_state_internal(bool state, bool is_initial);
|
||||
|
||||
/// Return whether this binary sensor has outputted a state.
|
||||
virtual bool has_state() const;
|
||||
|
||||
Reference in new issue
Block a user