Hello,
In my semantic model, I have added various groups representing the locations around my home, and inside those I have added the equipment that is installed in each room. Below that, there are points/switches… representing the various channels on each and every item, like this for instance:
This works fine and is quite logical, but what I find sometimes annoying is that I need to go down to the point/switch level to see the associated value, when the equipment shows NULL.
I totally understand that an equipment is a “logical” group that can have multiple children beneath it among which it cannot choose automatically a value to display.
But what if there is only one? Shouldn’t it show the value of its only child?
And if there are multiple ones, would there be a way to tell which one to pick its value from?
I have seen the State description metadata which appears promising, but I don’t see how I can tell it “use the value from point XX”.
I don’t mind using a bit of scripting if need be, it’s just that from the documentation I don’t see a way to do that in Pattern
For reference this is the version I’m using:
runtimeInfo:
version: 3.2.0
buildString: Release Build
locale: en-FR
systemInfo:
javaVersion: 11.0.13
javaVendor: Oracle Corporation
osName: Linux
osVersion: 5.4.164-1-MANJARO
osArchitecture: amd64