Subtitle of an item widget in rules?

Hi,

I have created a rule that sends me the fuel prices in the area as soon as the range of my vehicle falls below a certain threshold.
In the notification I write the name or the label and the state of the item, but neither the name nor the label is the ideal description.

        val message = new StringBuilder
        Group_Tankpreise.members.forEach[i | message.append(i.name + ":\n" + i.state + "€\n") ]

I have specified a subtitle in the metadata in the Default List Item - can I somehow use it in the rule?

Try here

(short answer, no access to metadata from DSL rules)

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.