three litle bug in modbus doc (#21356)

This commit is contained in:
Tathar 2022-01-27 11:03:21 +01:00 committed by Franck Nijhof
parent 76947e7f7a
commit 7624154b88
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3

View File

@ -483,7 +483,6 @@ modbus:
device_class: door device_class: door
input_type: coil input_type: coil
address: 117 address: 117
device_class: door
state_open: 1 state_open: 1
state_opening: 2 state_opening: 2
state_closed: 0 state_closed: 0
@ -491,7 +490,7 @@ modbus:
status_register: 119 status_register: 119
status_register_type: holding status_register_type: holding
- name: "Door2" - name: "Door2"
address: 117 address: 118
``` ```
{% configuration %} {% configuration %}
@ -1033,10 +1032,10 @@ switches:
required: false required: false
default: same as command_off default: same as command_off
type: integer type: integer
unique_id: unique_id:
description: An ID that uniquely identifies this sensor. If two sensors have the same unique ID, Home Assistant will raise an exception. description: An ID that uniquely identifies this sensor. If two sensors have the same unique ID, Home Assistant will raise an exception.
required: false required: false
type: string type: string
{% endconfiguration %} {% endconfiguration %}
## Opening an issue ## Opening an issue