I reached this integration looking for a way to dynamically create sensors based on a variable attribute… any idea if I could pull this off with pyscript?
I have a sensor that comes with an attribute that is an array of N elements, i.e.
I would like to have one sensor created for each of those N elements, so for the above example, I’d have a sensor named John Doe with state 34 and an attribute height: 177, and equivalently for Joanne Doe, and for any other that may come on the initial attribute…