Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add modbus write_registers keys #26595

Merged
merged 2 commits into from Mar 15, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions source/_integrations/modbus.markdown
Expand Up @@ -426,7 +426,9 @@ modbus:
state_fan_only: 3
state_dry: 4
state_off: 5
write_registers: true
hvac_onoff_register: 11
write_registers: true
```

{% details "Previous configuration format" %}
Expand Down Expand Up @@ -488,6 +490,11 @@ climates:
description: The address of the HVAC mode register.
required: true
type: integer
write_registers:
description: if true use write_registers
required: false
type: boolean
default: false
values:
description: A mapping between the register values and HVAC modes
required: true
Expand Down Expand Up @@ -529,6 +536,11 @@ climates:
value 1 is written.
required: false
type: integer
write_registers:
description: if true use write_registers for hvac_onoff.
required: false
type: boolean
default: false
unique_id:
description: An ID that uniquely identifies this sensor. If two sensors have the same unique ID, Home Assistant will raise an exception.
required: false
Expand Down