We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb52038 commit 721c6b3Copy full SHA for 721c6b3
README.md
@@ -61,8 +61,6 @@ bool onPowerState(const String deviceId, bool &state) {
61
SinricProSwitch& mySwitch = SinricPro.add<SinricProSwitch>(SWITCH_ID);
62
// set callback function
63
mySwitch.onPowerState(onPowerState);
64
- // add switch to SinricPro
65
- SinricPro.add(mySwitch);
66
// startup SinricPro
67
SinricPro.begin(SOCKET_AUTH_TOKEN, SIGNING_KEY);
68
0 commit comments