mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-10 19:06:55 +00:00
Update PiFace Digital I/O Binary Sensor configuration (#7001)
* Update PiFace Digital I/O Binary Sensor configuration * Minor changes
This commit is contained in:
parent
3d3906ff57
commit
378552e3ed
@ -32,11 +32,29 @@ binary_sensor:
|
|||||||
settle_time: 50
|
settle_time: 50
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
{% configuration %}
|
||||||
|
ports:
|
||||||
- **ports** array (*Required*): Array of used ports.
|
description: List of used ports.
|
||||||
- **num** (*Required*): Port number.
|
required: true
|
||||||
- **name** (*Required*): Port name.
|
type: map
|
||||||
- **settle_time** (*Optional*): The time in milliseconds for port debouncing. Default is 2 0ms.
|
keys:
|
||||||
- **invert_logic** (*Optional*): If true, inverts the output logic to ACTIVE LOW. Default is false (ACTIVE HIGH).
|
num:
|
||||||
|
description: The port number.
|
||||||
|
required: true
|
||||||
|
type: map
|
||||||
|
keys:
|
||||||
|
name:
|
||||||
|
description: The port name.
|
||||||
|
required: true
|
||||||
|
type: string
|
||||||
|
settle_time:
|
||||||
|
description: The time in milliseconds for port debouncing.
|
||||||
|
required: false
|
||||||
|
type: integer
|
||||||
|
default: 20
|
||||||
|
invert_logic:
|
||||||
|
description: If `true`, inverts the output logic to ACTIVE LOW.
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: "`false` (ACTIVE HIGH)"
|
||||||
|
{% endconfiguration %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user