I'm trying to define a remote property on a Thing programmatically, and I would like to set (and/or be able to later change) the Cache Type to "Cached for # seconds".
Similarly, I would like to be able to define the "When disconnected" behavior setting to "Fold all the changes into a single last changed value." Does this even make a difference when changed from the server? I do not have access to the remote thing itself.
Besides manipulating the metadata JSON, does anyone know of a way I can set/update these remote aspects?