This commit is contained in:
Florian Simmer committed 2023-12-24 09:22:34 +01:00
1 parent 5ede5bccc6
commit 15b56b4af3
1 file changed
+3 -3
+3 -3
View File
@@ -1,10 +1,10 @@
text_sensor: text_sensor:
- platform: modbus_controller - platform: modbus_controller
modbus_controller_id: ${modbus_controller_id} modbus_controller_id: ${modbus_controller_id}
name: "${name} Fehler 1" name: "${name} Fehler ${error_number}"
id: ${name}_Fehler_1 id: ${name}_Fehler_${error_number}
register_type: read register_type: read
address: 3000 address: ${address}
raw_encode: HEXBYTES raw_encode: HEXBYTES
lambda: |- lambda: |-
uint16_t value = modbus_controller::word_from_hex_str(x, 0); uint16_t value = modbus_controller::word_from_hex_str(x, 0);