Add Switchbot Blind Tilt control (#2002)
close_up, close_down, open, and percentage command Add auto-discovery with HA and cover component
This commit is contained in:
1 parent
4ec577d6af
commit
04c3e7ef95
6 files changed
+244
-22
No files matched your search
@@ -82,5 +82,14 @@ public:
|
||||
bool processActions(std::vector<BLEAction>& actions) override;
|
||||
};
|
||||
|
||||
class SBBT_connect : public zBLEConnect {
|
||||
uint8_t m_notifyVal;
|
||||
void notifyCB(NimBLERemoteCharacteristic* pChar, uint8_t* pData, size_t length, bool isNotify);
|
||||
|
||||
public:
|
||||
SBBT_connect(NimBLEAddress& addr) : zBLEConnect(addr) {}
|
||||
bool processActions(std::vector<BLEAction>& actions) override;
|
||||
};
|
||||
|
||||
#endif //ESP32
|
||||
#endif //zBLEConnect_h
|
||||
Reference in new issue
Block a user