From 268520e9750d36a37c82ec94d6029c955ad70574 Mon Sep 17 00:00:00 2001 From: Nigel Pearson Date: Mon, 6 Jan 2025 17:59:24 +1100 Subject: [PATCH] Add some example Hex addresses None of the HA documentation seems to mention Hex addresses. As mentioned in: https://community.home-assistant.io/t/allow-modbus-address-port-register-to-be-specified-in-hex/800954 I didn't think/know that YAML would let me use Hex literals for device interfacing (and I must have got the format wrong when I tried it and it failed). A few random Hex constants will at least let developers search for the possibility --- source/_integrations/modbus.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/modbus.markdown b/source/_integrations/modbus.markdown index 4506ebdcce11..61802660b0ce 100644 --- a/source/_integrations/modbus.markdown +++ b/source/_integrations/modbus.markdown @@ -819,7 +819,7 @@ modbus: port: 502 climates: - name: "Watlow F4T" - address: 27586 + address: 0x6BC2 input_type: holding count: 1 data_type: custom @@ -1439,7 +1439,7 @@ modbus: sensors: - name: Room_1 slave: 10 - address: 0 + address: 0x9A input_type: holding unit_of_measurement: °C state_class: measurement