Skip to content

Commit 27c5786

Browse files
stateDescription: change to read-write
1 parent eb248fa commit 27c5786

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

configuration/items.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -271,6 +271,13 @@ Number Livingroom_Clock_Battery "Battery Charge [%d %%]" // e.g. "
271271
Location My_Location "My Location [%2$s°N %3$s°E %1$sm]" // e.g. "49.26°N 123.19°E 0m"
272272
```
273273

274+
##### State Description
275+
276+
Internally items have a State Description, which can be obtained by GET `/rest/items/<itemName>`.
277+
When an item is linked to a channel without `CommandTopic`, the State Description of the item is read-only.
278+
Some UIs may disallow the user to edit such an item.
279+
To change the item to read-write add `stateDescription=" "[readOnly=false]` in bindingconfig.
280+
274281
#### State Transformation
275282

276283
Transformations can be used in the state part of an Item, to translate the raw state of an Item into another language, or to convert technical values into human readable information.

0 commit comments

Comments
 (0)