Is there any way to modify the attributes of a sensor using only JSON? I’m currently using a command_line sensor which looks at a file, but I prefer to send a curl command (from a python script) to update it.
So I need some kind of sensor that isn’t initialised at boot if that makes sense.
I’ve figured out how to manipulate a sensor with JSON, but I can’t figure out what kind of platform I should use. I tried using a rest sensor pointing to a dummy web page, but after I modify the value via JSON, the dummy value shows up again…
So what I want to achieve is create a sensor that gets populated externally, without any startup value (if that makes sense)