fix deprecated function 2

This commit is contained in:
Florian committed 2026-09-21 22:07:39 +02:00
1 parent 2031de292e
commit a3f472668a
1 file changed
+1 -1
+1 -1
View File
@@ -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");