error
This commit is contained in:
1 parent
5ede5bccc6
commit
15b56b4af3
1 file changed
+3
-3
+3
-3
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user