From 2031de292ecae94e3f05bd57fc5956c3a3f0118e Mon Sep 17 00:00:00 2001 From: Florian Simmer Date: Mon, 21 Sep 2026 20:45:27 +0200 Subject: [PATCH] update deprecated functions --- fehler.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fehler.yaml b/fehler.yaml index 7a12041..75107ad 100644 --- a/fehler.yaml +++ b/fehler.yaml @@ -10,7 +10,7 @@ text_sensor: address: 3000 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("STB gefallen oder NOT-AUS betätigt"); case 1: return std::string("Kesseltemperaturfühler fehlerhaft"); @@ -455,7 +455,7 @@ text_sensor: address: 3001 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("STB gefallen oder NOT-AUS betätigt"); case 1: return std::string("Kesseltemperaturfühler fehlerhaft"); @@ -900,7 +900,7 @@ text_sensor: address: 3002 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("STB gefallen oder NOT-AUS betätigt"); case 1: return std::string("Kesseltemperaturfühler fehlerhaft"); @@ -1345,7 +1345,7 @@ text_sensor: address: 3003 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("STB gefallen oder NOT-AUS betätigt"); case 1: return std::string("Kesseltemperaturfühler fehlerhaft"); @@ -1790,7 +1790,7 @@ text_sensor: address: 3004 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("STB gefallen oder NOT-AUS betätigt"); case 1: return std::string("Kesseltemperaturfühler fehlerhaft");