mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-05 20:38:27 +02:00
Upgrade ArduinoJson to 6.18.5 and migrate code (#2844)
This commit is contained in:
@@ -14,12 +14,12 @@ namespace light {
|
||||
class LightJSONSchema {
|
||||
public:
|
||||
/// Dump the state of a light as JSON.
|
||||
static void dump_json(LightState &state, JsonObject &root);
|
||||
static void dump_json(LightState &state, JsonObject root);
|
||||
/// Parse the JSON state of a light to a LightCall.
|
||||
static void parse_json(LightState &state, LightCall &call, JsonObject &root);
|
||||
static void parse_json(LightState &state, LightCall &call, JsonObject root);
|
||||
|
||||
protected:
|
||||
static void parse_color_json(LightState &state, LightCall &call, JsonObject &root);
|
||||
static void parse_color_json(LightState &state, LightCall &call, JsonObject root);
|
||||
};
|
||||
|
||||
} // namespace light
|
||||
|
||||
Reference in New Issue
Block a user