12-08-2023 09:42 AM
Hi everyone,
I am trying to convert variant data to Boolean cluster data using "Variant to data function" but I am getting the error 91.
I could be able to unflatten json string to variant data successfully, if you look into the image attached.
I also tried unbundling the 'SetupState' cluster to 'state'cluster before wiring to variant to data function's type input. But unable to convert the data successfuly.
Please share any inputs. Thank you in advance.
12-08-2023 09:44 AM
If you flatten to a JSON string you need to unflatten from JSON. Flatten variant creates a much different result.
12-08-2023 11:56 AM
I see no image attached
12-11-2023 01:37 AM - edited 12-11-2023 01:38 AM
Sorry, here is the image.
12-11-2023 03:11 AM
Thanks for the help. I found the issue. The default type input of 'variant to data' is actually a cluster of integer data, but not the cluster of boolean data. Thanks once again.