Skip to content

Commit

Permalink
Typos (#2078)
Browse files Browse the repository at this point in the history
Add an example to Group item, that it can reference sub-types of
Number (dimensions).
  • Loading branch information
dilyanpalauzov authored May 24, 2023
1 parent 5d9bf9f commit 524cf43
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions configuration/items.md
Original file line number Diff line number Diff line change
Expand Up @@ -523,13 +523,13 @@ Incompatible Item types within a Group may result in the invalid aggregation res
Examples for derived states on Group Items when declared in the Item DSL:

```java
Group:Number Lights "Active Lights [%d]" // e.g. "2"
Group:Switch:OR(ON,OFF) Lights "Active Lights [%d]" // e.g. ON and "2"
Group:Switch:AND(ON,OFF) Lights "Active Lights [%d]" // e.g. ON and "2"
Group:Number:AVG Temperatures "All Room Temperatures [%.1f °C]" // e.g. "21.3 °C"
Group:DateTime:EARLIEST LatestUpdate "Latest Update [%1$tY.%1$tm.%1$tY %1$tH:%1$tM:%1$tS]"
Group:DateTime:LATEST LastSeen "Last Seen [%1$tY.%1$tm.%1$tY %1$tH:%1$tM:%1$tS]"
Group:Number:COUNT("OFFLINE") OfflineDevices "Offline Devices [%d]" // e.g. "2"
Group:Number Lights "Active Lights [%d]" // e.g. "2"
Group:Switch:OR(ON,OFF) Lights "Active Lights [%d]" // e.g. ON and "2"
Group:Switch:AND(ON,OFF) Lights "Active Lights [%d]" // e.g. ON and "2"
Group:Number:Temperature:AVG Temperatures "All Room Temperatures [%.1f °C]" // e.g. "21.3 °C"
Group:DateTime:EARLIEST LatestUpdate "Latest Update [%1$tY.%1$tm.%1$tY %1$tH:%1$tM:%1$tS]"
Group:DateTime:LATEST LastSeen "Last Seen [%1$tY.%1$tm.%1$tY %1$tH:%1$tM:%1$tS]"
Group:Number:COUNT("OFFLINE") OfflineDevices "Offline Devices [%d]" // e.g. "2"
```

The first three examples above compute the number of active lights and store them as group state.
Expand Down
2 changes: 1 addition & 1 deletion tutorials/getting_started/item_widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ For complicated expressions, gradually build up the expression in this tool unti

## Visibility

Each custom defined widget has a "Visibility" and "Visible to" property.
Each custom defined widget has a "Visibility" and a "Visible to" property.
The "Visibility" option takes a boolean `true` or `false` or the result of a boolean expression to determine whether or not to render the widget.
The "Visibile to" property controls which type of user can see the widget.
Take heed of the warning, this is not a security feature, but it can be used to limit what a regular user can see in the automatically generated parts of the Overview Page.
Expand Down
4 changes: 2 additions & 2 deletions ui/layout-pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ _Screen Width:_
Screen width in CSS pixels. Defaults to 1280.

_Screen Height:_
Screen width in CSS pixels. Defaults to 720.
Screen height in CSS pixels. Defaults to 720.

_Scaling:_
Enabling this scales the defined screen to the width available in the browser window.
Expand Down Expand Up @@ -257,7 +257,7 @@ _Screen Width:_
Screen width in CSS pixels. Defaults to 1280.

_Screen Height:_
Screen width in CSS pixels. Defaults to 720.
Screen height in CSS pixels. Defaults to 720.

_Scaling:_
Enabling this scales the defined screen to the width available in the browser window. All widgets are resized accordingly.
Expand Down

0 comments on commit 524cf43

Please sign in to comment.