|
@@ -125,10 +125,6 @@ void RgbwPacketFormatter::parsePacket(const uint8_t* packet, JsonObject& result,
|
|
|
} else {
|
|
} else {
|
|
|
result["button_id"] = command;
|
|
result["button_id"] = command;
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
- if (! result.containsKey("state")) {
|
|
|
|
|
- result["state"] = "ON";
|
|
|
|
|
- }
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
void RgbwPacketFormatter::format(uint8_t const* packet, char* buffer) {
|
|
void RgbwPacketFormatter::format(uint8_t const* packet, char* buffer) {
|