i know this is old and the json is outdated but it worked for me getting it on my alexa! i have a stereo with the codes and the power and the mute work fine but when i tried to add another code to change the input it just keeps sending the power toggle i cant seem to find what im missing #423
here is what i added right below the MuteAction
bool MuteAction=json ["value"]["mute"];
if(MuteAction==true || MuteAction==false){
ToggleMute(deviceId);
}
here is what i added right below the MuteAction bool MuteAction=json ["value"]["mute"]; if(MuteAction==true || MuteAction==false){ ToggleMute(deviceId); }