Skip to content

Commit d2b9403

Browse files
committed
Update sample
1 parent af46e2c commit d2b9403

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

source/_components/cover.rfxtrx.markdown

+14-14
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ The easiest way to find your roller shutters is to add this to your `configurati
2424

2525
```yaml
2626
cover:
27-
platform: rfxtrx
28-
automatic_add: True
27+
- platform: rfxtrx
28+
automatic_add: True
2929
```
3030
3131
Launch your homeassistant and go the website (e.g http://localhost:8123). Push your remote and your device should be added.
@@ -34,10 +34,10 @@ Once added it will show an ID (e.g `0b11000102ef9f210010f70`) and you can verify
3434

3535
```yaml
3636
cover:
37-
platform: rfxtrx
38-
devices:
39-
0b11000102ef9f210010f70:
40-
name: device_name
37+
- platform: rfxtrx
38+
devices:
39+
0b11000102ef9f210010f70:
40+
name: device_name
4141
```
4242

4343
##### {% linkable_title RFY %}
@@ -51,14 +51,14 @@ Example configuration:
5151
```yaml
5252
# Example configuration.yaml entry
5353
cover:
54-
platform: rfxtrx
55-
automatic_add: False
56-
signal_repetitions: 2
57-
devices:
58-
0b1100ce3213c7f210010f70: # Siemens/LightwaveRF
59-
name: Bedroom Shutter
60-
070a00000a000101: # RFY
61-
name: Bathroom Shutter
54+
- platform: rfxtrx
55+
automatic_add: False
56+
signal_repetitions: 2
57+
devices:
58+
0b1100ce3213c7f210010f70: # Siemens/LightwaveRF
59+
name: Bedroom Shutter
60+
070a00000a000101: # RFY
61+
name: Bathroom Shutter
6262
```
6363

6464
Configuration variables:

source/_components/cover.rpi_gpio.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ cover:
3434
3535
Configuration variables:
3636
37-
- **relay_time** (*Optional*): The time that the relay will be on for in seconds. Default is .2 seconds.
37+
- **relay_time** (*Optional*): The time that the relay will be on for in seconds. Default is 0.2 seconds.
3838
- **state_pull_mode** (*Optional*): The direction the State pin is pulling. It can be UP or DOWN. Default is UP.
3939
- **covers** array (*Required*): List of your doors.
4040
- **relay_pin** (*Required*): The pin of your Raspberry Pi where the relay is connected.

source/_components/cover.scsgate.markdown

+5-5
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ To enable SCSGate covers in your installation, add the following to your `config
1818
```yaml
1919
# Example configuration.yaml entry
2020
cover:
21-
platform: scsgate
22-
devices:
23-
living_room:
24-
name: Living Room
25-
scs_id: XXXXX
21+
- platform: scsgate
22+
devices:
23+
living_room:
24+
name: Living Room
25+
scs_id: XXXXX
2626
```
2727
2828
Configuration variables:

0 commit comments

Comments
 (0)