add write_registers to climate target temperature (#28376)

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
This commit is contained in:
Bruno Enten 2023-09-21 11:21:42 +02:00 committed by GitHub
parent cf41cc0eca
commit 7f2c0e03eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -712,6 +712,11 @@ climates:
description: "Register address for target temperature (Setpoint)."
required: true
type: integer
target_temp_write_registers:
description: "If `true` use `write_registers` for target temperature."
required: false
type: boolean
default: false
temp_step:
description: "Step size target temperature."
required: false
@ -758,6 +763,7 @@ modbus:
max_temp: 30
structure: ">f"
target_temp_register: 2782
target_temp_write_registers: true
temp_step: 1
temperature_unit: C
```