keypad binary sensors should be initially off (#7808)

Co-authored-by: Samuel Sieb <samuel@sieb.net>
This commit is contained in:
Samuel SiebandSamuel Sieb authored and Jesse Hills committed 2024-11-27 14:06:20 +13:00
1 parent 72bf0086e4
commit 4c7552eca4
2 files changed
+2 -2

No files matched your search

@@ -58,7 +58,7 @@ class BinarySensor : public EntityBase, public EntityBase_DeviceClass {
void publish_initial_state(bool state);
/// The current reported state of the binary sensor.
bool state;
bool state{false};
void add_filter(Filter *filter);
void add_filters(const std::vector<Filter *> &filters);