Implement full support for two shutters
This commit is contained in:
33
include/main.h
Normal file
33
include/main.h
Normal file
@@ -0,0 +1,33 @@
|
||||
#include <ArduinoHA.h>
|
||||
|
||||
void initPins();
|
||||
|
||||
void initWifi();
|
||||
|
||||
void initHA();
|
||||
|
||||
void onCoverLeftCommand(HACover::CoverCommand cmd);
|
||||
|
||||
void onCoverRightCommand(HACover::CoverCommand cmd);
|
||||
|
||||
void onCoverLeftSetPositionCommand(uint8_t pos);
|
||||
|
||||
void onCoverRightSetPositionCommand(uint8_t pos);
|
||||
|
||||
void processStateLeft();
|
||||
|
||||
void processStateRight();
|
||||
|
||||
void sendCoverLeftOpen();
|
||||
|
||||
void sendCoverLeftStop();
|
||||
|
||||
void sendCoverLeftClose();
|
||||
|
||||
void sendCoverRightOpen();
|
||||
|
||||
void sendCoverRightStop();
|
||||
|
||||
void sendCoverRightClose();
|
||||
|
||||
void sendRemoteCommand();
|
||||
Reference in New Issue
Block a user