Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions content/components/light/status_led.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ params:
image: led-on.svg
---

The `status_led` light platform allows to share a single LED for indicating the status of
the device (when on error/warning state) or as binary light (when on OK state).
The `status_led` light platform allows a single LED to indicate the status of
the device (such as an error/warning state) or as a binary light (such as an OK state).
This is useful for devices with only one LED available.
You can also use a binary [Output Component](#output).

It provides the combined functionality of {{< docref "/components/status_led" "status_led component" >}} and a
{{< docref "/components/light/binary" "binary light component" >}} over a single shared GPIO led.

When the device is on error/warning state, the function of `status_led` will take precedence and control the blinking of the LED.
When the device is in error/warning state, the function of `status_led` will take precedence and control the blinking of the LED.
When the device is in OK state, the LED will be restored to the state of the `binary light` function and can be controlled as such.

```yaml
Expand All @@ -34,7 +34,7 @@ light:

## Configuration variables

- **pin** (*Optional*, [Pin Schema](#config-pin_schema)): The GPIO pin to operate the LED on.
- **pin** (*Optional*, [Pin Schema](#config-pin_schema)): The GPIO pin to control the LED on.
- **output** (*Optional*, [ID](#config-id)): The id of the binary [Output Component](#output) to use for this light.
- All other options from [Light](#config-light).

Expand Down
Loading