33 lines
529 B
C
33 lines
529 B
C
#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(); |