fix deprecated function 3
This commit is contained in:
1 parent
a3f472668a
commit
ec0aa236e9
1 file changed
+1
-1
+1
-1
@@ -8,7 +8,7 @@ text_sensor:
|
||||
address: 4000
|
||||
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("Dauerlast");
|
||||
case 1: return std::string("Brauchwasser");
|
||||
|
||||
Reference in new issue
Block a user