Closed 12usernull closed 1 month ago
SinricProDoorbell&&myDoorbell = SinricPro[DOORBELL_ID];
There must be just one &
!
The reason is the second ampersand character.
😑 : ( Compilation error: invalid user-defined conversion from 'SINRICPRO_3_0_1::SinricProClass::Proxy' to 'SinricProDoorbell&&' {aka 'SINRICPRO_3_0_1::SinricProDoorbell&&'} [-fpermissive]
Same error
Change SinricProDoorbell&&myDoorbell = SinricPro[DOORBELL_ID];
to SinricProDorbell& myDoorBell=SinricPro[DOORBELL_ID];
Just one "&" not two!
Compilation error: invalid user-defined conversion from 'SINRICPRO_3_0_1::SinricProClass::Proxy' to 'SinricProDoorbell&&' {aka 'SINRICPRO_3_0_1::SinricProDoorbell&&'} [-fpermissive]