In the case that was brought to me it is one of my drivers for Govee Light Devices. It was brought to me by a user, and it looks to be a issue related to the Legacy Dashboards. I have tested the EZ Dashboards and they don't seem to care about it. When I tested it with one a test legacy dashboard I was able to reproduce it.
The length of the field will vary from device to device and depending on if the user is using LAN API vs Cloud API. The largest list i know of right now is around 141 scenes and when i check the full length of that attribute as it was written it was 2671 characters. That is just the lengh of it and i don't even have any of the DIY effects included.
You can view the code for how it is created by reviewing my library code file Govee_Lan_API . The method in question is between lines 322 and 372, with the code actually creating the json and then posting of the event on line 370 and 371.
The output that is created is like this below
{"1":"Ocean/Deep Sea","2":"Romantic","3":"Sunset","4":"Rainbow","5":"Fire","7":"Forest","8":"Flower Field-B","9":"Sunrise","10":"Sunset","20":"Spring","21":"Summer-A","101":"Sunrise","102":"Sunset","103":"Forest","104":"Rustling leaves","105":"Universe-A","106":"Universe-B","107":"Meteor","108":"Meteor shower","109":"Aurora-A","110":"Aurora-B","111":"Lightning-A","112":"Lightning-B","113":"Lightning-C","114":"Starry Sky","115":"Snow flake-A","116":"Snow flake-B","117":"Spring","118":"Summer-A","119":"Summer-B","120":"Fall","121":"Winter","122":"Rainbow","123":"Fire-A","124":"Fire-B","125":"Fire-C","126":"Ripple","127":"Wave-A","128":"Wave-B","129":"Deep sea","130":"Desert","131":"Karst Cave-A","132":"Karst Cave-B","133":"Karst Cave-C","134":"Glacier","135":"Gobi Desert","136":"Moonlight-A","137":"Moonlight-B","138":"Cornfield","139":"Flower Field-A","140":"Flower Field-B","141":"Volcano-A","142":"Volcano-B","143":"Downpour","144":"Sunny-A","145":"Sunny-B","146":"New Years","147":"Christmas-A","148":"Christmas-B","149":"Halloween-A","150":"Halloween-B","151":"Valentine's Day","152":"Candlelight","153":"Birthday","154":"Fireworks-A","155":"Fireworks-B","156":"Ghost-A","157":"Ghost-B","158":"Party-A","159":"Party-C","160":"Dance Party-A","161":"Dance Party-B","162":"Disco-A","163":"Disco-B","164":"Carnival","165":"Mother's Day","166":"Father's Day","167":"Christmas Tree","168":"Sled","169":"Christmas Gift","170":"Sweet","171":"Dating","172":"Movie","173":"Sports","174":"Siren-A","175":"Siren-B","176":"Game-A","177":"Game-B","178":"Game-C","179":"Game-D","180":"Crossing","181":"Night-A","182":"Night-B","183":"Sleep-A","184":"Sleep-B","185":"Sleep-C","186":"Morning","187":"Afternoon","188":"Study","189":"Business","190":"Reading","191":"Work","192":"Leisure-A","193":"Leisure-B","194":"Meditation-A","195":"Meditation-B","196":"Meditation-C","197":"Care-A","198":"Care-B","199":"Fight","200":"Dreamland-A","201":"Twinkle","202":"Dreamland-B","203":"Dreamland-C","204":"Dreamland-D","205":"Dreamland-E","206":"Dreamland-F","207":"Dreamland-G","208":"Breathe","209":"Energetic-A","210":"Energetic-B","211":"Energetic-C","212":"Energetic-D","213":"Excited-A","214":"Excited-B","215":"Excited-C","216":"Happy-A","217":"Happy-B","218":"Enthusiastic","219":"Profound","220":"Mysterious-A","221":"Mysterious-B","222":"Quiet-A","223":"Quiet-B","224":"Longing","225":"Warm-A","226":"Warm-B","227":"Stacking","228":"Release-A","229":"Release-B","230":"Flow-A","231":"Flow-B","232":"Flash","233":"Swing","234":"Tension-A","235":"Tension-B","236":"Cheerful","237":"Rush","238":"Heartbeat-A","239":"Heartbeat-B","240":"Crazy","241":"Fascination","999":null}
Thanks, It would be awesome if we can get more devices to have a valid json for the lightEffect attribute. This could mean my new app could interact with all of those devices to automate light effects across multiple brands of devices. Right now that can be kind of tedious