update deprecated functions
This commit is contained in:
1 parent
5a35ce3490
commit
2031de292e
1 file changed
+5
-5
+5
-5
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user