Fix alignment/indentation (#13994)

Fixes #13882

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen 2022-12-18 10:22:07 +01:00 committed by GitHub
parent d03d3e4342
commit 9b891302c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 72 additions and 71 deletions

View File

@ -24,7 +24,7 @@ The discovery process is able to automatically discover all devices associated w
Bridge has the following configuration parameters: Bridge has the following configuration parameters:
| Parameter | Description | Required | Parameter | Description | Required
|------------------|-------------------------------------------------------|---------- |------------------|--------------------------------------------------------|----------
| apikey | API Key from <https://api.foobot.io/apidoc/index.html> | Mandatory | apikey | API Key from <https://api.foobot.io/apidoc/index.html> | Mandatory
| username | The e-mail address used to log into the Foobot App | Mandatory | username | The e-mail address used to log into the Foobot App | Mandatory
| refreshInterval | Refresh interval in minutes, minimal 5 minutes | Optional, the default value is 8 minutes. | refreshInterval | Refresh interval in minutes, minimal 5 minutes | Optional, the default value is 8 minutes.

View File

@ -30,7 +30,7 @@ The binding will automatically discover the Omnilogic pool things from the cloud
Hayward OmniLogic Connection Parameters: Hayward OmniLogic Connection Parameters:
| Property | Default | Required | Description | | Property | Default | Required | Description |
|----------------------|----------------------------------------------------------------|----------|----------------------------------------------| |----------------------|------------------------------------------------------------------|----------|----------------------------------------------|
| Host Name | <https://app1.haywardomnilogic.com/HAAPI/HomeAutomation/API.ash> | Yes | Host name of the Hayward API server | | Host Name | <https://app1.haywardomnilogic.com/HAAPI/HomeAutomation/API.ash> | Yes | Host name of the Hayward API server |
| User Name | None | Yes | Your Hayward User Name (not email address) | | User Name | None | Yes | Your Hayward User Name (not email address) |
| Password | None | Yes | Your Hayward User Password | | Password | None | Yes | Your Hayward User Password |

View File

@ -269,7 +269,7 @@ String LivingRoom_Playlists {channel="heos:player:main:LivingRoom:Playlists"}
### demo.sitemap ### demo.sitemap
```perl ```perl
Frame label="LivingRoom" { Frame label="LivingRoom" {
Default item=LivingRoom_Control Default item=LivingRoom_Control
Default item=LivingRoom_Mute Default item=LivingRoom_Mute
Default item=LivingRoom_Volume Default item=LivingRoom_Volume
@ -278,7 +278,7 @@ String LivingRoom_Playlists {channel="heos:player:main:LivingRoom:Playlists"}
Default item=LivingRoom_Album Default item=LivingRoom_Album
Selection item=LivingRoom_Favorites label="Favorite" icon="music" Selection item=LivingRoom_Favorites label="Favorite" icon="music"
Selection item=LivingRoom_Playlists label="Playlist" icon="music" Selection item=LivingRoom_Playlists label="Playlist" icon="music"
} }
``` ```
## Detailed Explanation ## Detailed Explanation
@ -318,17 +318,18 @@ Rule for kitchen:
```java ```java
rule "Play AuxIn from Living Room" rule "Play AuxIn from Living Room"
when when
Item HeosKitchen_InputSelect received command Item HeosKitchen_InputSelect received command
then then
if (receivedCommand.toString == "aux_in_1") { if (receivedCommand.toString == "aux_in_1") {
sendCommand(HeosKitchen_Input, "aux_in_1") sendCommand(HeosKitchen_Input, "aux_in_1")
}
} if (receivedCommand.toString == "LivingRoom") { if (receivedCommand.toString == "LivingRoom") {
sendCommand(HeosBridge_Play_Living, ON) sendCommand(HeosBridge_Play_Living, ON)
sendCommand(HeosKitchen_Input, "aux_in_1") sendCommand(HeosKitchen_Input, "aux_in_1")
sendCommand(HeosBridge_Play_Living, OFF) //Switch player channel off again to be sure that it is OFF sendCommand(HeosBridge_Play_Living, OFF) //Switch player channel off again to be sure that it is OFF
} }
end
``` ```
Sitemap: Sitemap: