Hello
Attributes are JSON objects. Some past designers had missed that conception, thinking that attributes are KVS with values limited to strings.
Here is how JSON objects look in HA:
Attribute view available on More info page
:
attributes view in Developer Tools / States. Looks a bit better but still…
Developer tools/templates confirm that we are prepared on such occasions
to_json(pretty_print=True) gives a nicely formatted object. I wouldn’t mind a highlighting…
Could we get formatted json represtation on the mentioned pages?
What do you think?


