Fixed special switches and play value, volume & backlight custom functions
This commit is contained in:
@@ -68,7 +68,7 @@ std::string YamlRawSwitchEncode(const RawSwitch& rhs)
|
||||
break;
|
||||
|
||||
default:
|
||||
sw_str += getCurrentFirmware()->getRawSwitchTypesTag(sval);
|
||||
sw_str += getCurrentFirmware()->getRawSwitchTypesTag(rhs.type);
|
||||
break;
|
||||
}
|
||||
return sw_str;
|
||||
|
||||
Reference in New Issue
Block a user