Skip to content

Commit

Permalink
Update binary sensor dallas_pio.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
tdy91 authored Jan 18, 2025
1 parent d49b570 commit 65eea7d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/binary_sensor/dallas_pio.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ Configuration variables:
- **id** (*Optional*, string): Manually specify the ID for code generation. At least one of **id** and **name** must be specified.
- **dallas_pio_id** (*Required*, string): The ID of the dallas pio to use.
- **pin** (**Required**, :ref:`Pin Schema <config-pin_schema>`): The PIO pin to use for the binary sensor.
Options:
Options:
- **number**: The pin to use. For DS2413 or DS2406, use `PIOA` or `PIOB`. For DS2408, use `P0` to `P7`.
- **mode**:
- `input: true`: Configure the pin as an input (default)
- `input: false`: not allowed (binary sensor acts necessarily as an input).
- **mode**:
- `input: true`: Configure the pin as an input (default)
- `input: false`: not allowed (binary sensor acts necessarily as an input).
- **inverted**: Set to `true` to interpret a high signal as low (active-low). Useful for devices where a low voltage signifies an active state. Defaults to `false`.
- **update_interval** (*Optional*, :ref:`config-time`): The interval that the binary sensors should be checked. Defaults to 1 second.
- All other options from :ref:`Binary Sensor <config-binary_sensor>`.
Expand Down

0 comments on commit 65eea7d

Please sign in to comment.