fix deprecated function 2
This commit is contained in:
1 parent
2031de292e
commit
a3f472668a
1 file changed
+1
-1
+1
-1
@@ -8,7 +8,7 @@ text_sensor:
|
||||
address: 4001
|
||||
raw_encode: HEXBYTES
|
||||
lambda: |-
|
||||
uint16_t value = modbus_controller::word_from_hex_str(x, 0);
|
||||
uint16_t value = modbus::helpers::word_from_hex_str(x, 0);
|
||||
switch (value) {
|
||||
case 0: return std::string("STÖRUNG");
|
||||
case 1: return std::string("Kessel Aus");
|
||||
|
||||
Reference in new issue
Block a user