Skip to content

Commit

Permalink
configuration/items: clarify that items linked to channels have impli…
Browse files Browse the repository at this point in the history
…cit state presentation (#2214)
  • Loading branch information
dilyanpalauzov authored Jan 26, 2024
1 parent 9bd0799 commit aeb0525
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion configuration/items.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ The state presentation for the Item in the following example is "`%.1f °C`":
Number:Temperature Livingroom_Temperature "Temperature [%.1f °C]"
```

If no state presentation is given, or there is no text between the square brackets, the Item will not provide a textual presentation of its internal state (i.e. in UIs no state is shown).
If no square brackets are given and the Item is not linked to a channel, the Item will not provide a textual presentation of its internal state (i.e. in UIs no state is shown).
This is often meaningful when an Item is presented by a non-textual UI elements like a switch or a diagram.

Formatting of the presentation is done applying [Java formatter class syntax](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/util/Formatter.html#syntax).
Expand Down

0 comments on commit aeb0525

Please sign in to comment.