From abcc715d33e998d4c7c99877f17fed50e81cf1ea Mon Sep 17 00:00:00 2001 From: Sleeper85 Date: Sun, 1 Nov 2026 22:07:01 +0100 Subject: [PATCH] BMS: PACE word_from_hex_str moved to modbus::helpers (ESPHome 2026.10) --- packages/bms/bms_sensors_PACE_RS485_bms_full.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/bms/bms_sensors_PACE_RS485_bms_full.yaml b/packages/bms/bms_sensors_PACE_RS485_bms_full.yaml index 4138a4c..77df77d 100644 --- a/packages/bms/bms_sensors_PACE_RS485_bms_full.yaml +++ b/packages/bms/bms_sensors_PACE_RS485_bms_full.yaml @@ -1,5 +1,5 @@ # Updated : 2026.11.1 -# Version : 1.2.0 +# Version : 1.2.1 # GitHub : https://github.com/syssi/esphome-pace-bms # YamBMS ( Yet another multi-BMS Merging Solution ) @@ -1886,7 +1886,7 @@ text_sensor: }; std::string values = ""; - uint16_t mask = modbus_controller::word_from_hex_str(x, 0); + uint16_t mask = modbus::helpers::word_from_hex_str(x, 0); if (mask) { for (int i = 0; i < WARNINGS_SIZE; i++) { if (mask & (1 << i)) { @@ -1931,7 +1931,7 @@ text_sensor: }; std::string values = ""; - uint16_t mask = modbus_controller::word_from_hex_str(x, 0); + uint16_t mask = modbus::helpers::word_from_hex_str(x, 0); if (mask) { for (int i = 0; i < PROTECTIONS_SIZE; i++) { if (mask & (1 << i)) { @@ -1968,7 +1968,7 @@ text_sensor: }; std::string values = ""; - uint16_t mask = modbus_controller::word_from_hex_str(x, 0); + uint16_t mask = modbus::helpers::word_from_hex_str(x, 0); if (mask) { for (int i = 0; i < FAULTS_SIZE; i++) { if (mask & (1 << i)) { @@ -2005,7 +2005,7 @@ text_sensor: }; std::string values = ""; - uint16_t mask = modbus_controller::word_from_hex_str(x, 0); + uint16_t mask = modbus::helpers::word_from_hex_str(x, 0); if (mask) { for (int i = 8; i < (STATUS_SIZE+8); i++) { if (mask & (1 << i)) {