mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Adding input register for binary_sensor in modbus integration (#24783)
This commit is contained in:
parent
7cd01cf92d
commit
841ed5b8be
@ -348,6 +348,12 @@ modbus:
|
|||||||
address: 110
|
address: 110
|
||||||
device_class: door
|
device_class: door
|
||||||
input_type: discrete_input
|
input_type: discrete_input
|
||||||
|
- name: "binary_sensor3"
|
||||||
|
address: 120
|
||||||
|
slave: 2
|
||||||
|
device_class: running
|
||||||
|
scan_interval: 10
|
||||||
|
input_type: input
|
||||||
```
|
```
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
binary_sensors:
|
binary_sensors:
|
||||||
@ -364,7 +370,7 @@ binary_sensors:
|
|||||||
required: false
|
required: false
|
||||||
type: string
|
type: string
|
||||||
input_type:
|
input_type:
|
||||||
description: type of address (discrete_input/coil/holding)
|
description: type of address (discrete_input/coil/holding/input)
|
||||||
required: false
|
required: false
|
||||||
default: coil
|
default: coil
|
||||||
type: string
|
type: string
|
||||||
|
Loading…
x
Reference in New Issue
Block a user