mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 01:37:23 +00:00
Add modbus write_registers keys (#26595)
This commit is contained in:
parent
50b5c88546
commit
a0d9b4f9b5
@ -426,7 +426,9 @@ modbus:
|
|||||||
state_fan_only: 3
|
state_fan_only: 3
|
||||||
state_dry: 4
|
state_dry: 4
|
||||||
state_off: 5
|
state_off: 5
|
||||||
|
write_registers: true
|
||||||
hvac_onoff_register: 11
|
hvac_onoff_register: 11
|
||||||
|
write_registers: true
|
||||||
```
|
```
|
||||||
|
|
||||||
{% details "Previous configuration format" %}
|
{% details "Previous configuration format" %}
|
||||||
@ -488,6 +490,11 @@ climates:
|
|||||||
description: The address of the HVAC mode register.
|
description: The address of the HVAC mode register.
|
||||||
required: true
|
required: true
|
||||||
type: integer
|
type: integer
|
||||||
|
write_registers:
|
||||||
|
description: if true use write_registers
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
values:
|
values:
|
||||||
description: A mapping between the register values and HVAC modes
|
description: A mapping between the register values and HVAC modes
|
||||||
required: true
|
required: true
|
||||||
@ -529,6 +536,11 @@ climates:
|
|||||||
value 1 is written.
|
value 1 is written.
|
||||||
required: false
|
required: false
|
||||||
type: integer
|
type: integer
|
||||||
|
write_registers:
|
||||||
|
description: if true use write_registers for hvac_onoff.
|
||||||
|
required: false
|
||||||
|
type: boolean
|
||||||
|
default: false
|
||||||
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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user