Skip to content

Commit 1dff23c

Browse files
committed
Fix variables
1 parent be77721 commit 1dff23c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/_components/binary_sensor.apcupsd.markdown

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ To enable this sensor, add the following lines to your `configuration.yaml` file
1919
```yaml
2020
# Example configuration.yaml entry
2121
binary_sensor:
22-
platform: apcupsd
23-
name: UPS Online
22+
- platform: apcupsd
23+
name: UPS Online
2424
```
2525
2626
Configuration variables:
2727
28-
- **resource** (*Required*): The resource or endpoint that contains the value.
29-
- **method** (*Optional*): The method of the request. Default is GET.
28+
29+
- **name** (*Optional*): Name to use in the front end.

0 commit comments

Comments
 (0)