Add HA discovery topics (#440)

This commit is contained in:
iranl
2024-07-31 13:14:09 +02:00
committed by GitHub
parent 41430179f3
commit d132e76ae2
5 changed files with 124 additions and 6 deletions

View File

@@ -37,6 +37,7 @@ public:
const bool isPaired() const;
const bool hasKeypad() const;
bool hasDoorSensor() const;
bool offConnected();
const BLEAddress getBleAddress() const;
std::string firmwareVersion() const;
@@ -126,13 +127,13 @@ private:
int _retryConfigCount = 0;
int _retryLockstateCount = 0;
int _rssiPublishInterval = 0;
int64_t _nextRetryTs = 0;
int64_t _nextRetryTs = 0;
int64_t _nextLockStateUpdateTs = 0;
int64_t _nextHybridLockStateUpdateTs = 0;
int64_t _nextBatteryReportTs = 0;
int64_t _nextConfigUpdateTs = 0;
int64_t _waitAuthLogUpdateTs = 0;
int64_t _waitKeypadUpdateTs = 0;
int64_t _waitKeypadUpdateTs = 0;
int64_t _waitTimeControlUpdateTs = 0;
int64_t _nextKeypadUpdateTs = 0;
int64_t _nextRssiTs = 0;