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 5c6416d commit 0137789Copy full SHA for 0137789
src/lircmqtt/DeviceState.cpp
@@ -77,7 +77,7 @@ namespace lm {
77
buttons.emplace_back(valueButtonMappings[j]["button"].GetString());
78
}
79
if (valueButtonMappings[j].HasMember("buttons")) {
80
- auto buttonValues = deviceToggleJson["valueButtonMappings"].GetArray();
+ auto buttonValues = valueButtonMappings[j]["buttons"].GetArray();
81
for (const auto& buttonValue : buttonValues) {
82
buttons.emplace_back(buttonValue.GetString());
83
0 commit comments