Closed ph0xyz closed 1 year ago
Original Code from Website:
SinricProSwitch& mySwitch1 = SinricPro[SWITCH_ID_1]; mySwitch1.onPowerState(onPowerState1); SinricProSwitch& mySwitch2 = SinricPro[SWITCH_ID_2]; mySwitch**1**.onPowerState(onPowerState2);
should be changed to the following
SinricProSwitch& mySwitch1 = SinricPro[SWITCH_ID_1]; mySwitch1.onPowerState(onPowerState1); SinricProSwitch& mySwitch2 = SinricPro[SWITCH_ID_2]; mySwitch**2**.onPowerState(onPowerState2);
hi @anumpho
Thanks for reporting this issue. I have fixed it now.
Great, thanks for the fast response!
Original Code from Website:
should be changed to the following