#how to store and access JSON data

1 messages · Page 1 of 1 (latest)

valid elm
#

I need to store persistently some data and access/modify them.
I tried adding them in input.text, but state has max 255 characters, and storing them as attributes I have doubts about the persistance over restart.
In my trial I was modifing them with pyscripts and accessing them/filtering with templates.

Is there a better way to store JSON data? (e.g. store in pyscript, but is it working for my task?)

pearl adder
#

If you use a trigger based template sensor, it will be restored after a restart