Conversation
| public bool? Mirror { get; set; } | ||
|
|
||
| [JsonPropertyName("i")] | ||
| public object[] IndividualLedControl { get; set; } = []; |
There was a problem hiding this comment.
There are a couple different things that can be in this list. Ends up being a mix of ints and strings, but there's not a pattern to how they are ordered - and Wled didn't respond to them all sent as strings im my testing. For what i set up - I'm ignoring the RGB option and going with just hex, but the hex string could be a list of 3 ints
just the Hex Values,
coordinate followed by hex color,
2 ints for start and end of a range followed by the hex color.
| } | ||
| } No newline at end of file | ||
|
|
||
| public async Task Post(List<SingleLedRequest> ledList) |
There was a problem hiding this comment.
We could do with some tests around this Post method to prove out all the logic
There was a problem hiding this comment.
I'll Look into this. Something in this repository keeps tripping the "warning as an error" thing for venerable nugets on my computer, even though im not seeing that flag on the projects, so may need to nudge a few of those along the way.
Goes with #11