configuration/items: clarify that items linked to channels have implicit state presentation (#2214)

pull/2220/head
Дилян Палаузов 2024-01-26 22:29:11 +01:00 committed by GitHub
parent 9bd0799678
commit aeb05253ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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).