From fce46f7613336cdccc6074a3f7cc8595c32e7f54 Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 23 Aug 2026 12:31:27 +0200 Subject: [PATCH] auto-formatting --- src/core/system.cpp | 2 +- src/devices/boiler.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index 4ee92d8fc..2debad3be 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -842,7 +842,7 @@ bool System::loop() { void System::send_info_mqtt() { static uint8_t _connection = 0; uint8_t connection = (EMSESP::network_.ethernet_connected() ? 1 : 0) + (EMSESP::network_.wifi_connected() ? 2 : 0) + (ntp_connected_ ? 4 : 0) - + (EMSESP::network_.has_ipv6() ? 8 : 0); + + (EMSESP::network_.has_ipv6() ? 8 : 0); // check if connection status has changed if (!Mqtt::connected() || connection == _connection) { return; diff --git a/src/devices/boiler.cpp b/src/devices/boiler.cpp index 4d14b3397..e5767f600 100644 --- a/src/devices/boiler.cpp +++ b/src/devices/boiler.cpp @@ -222,7 +222,7 @@ Boiler::Boiler(uint8_t device_type, int8_t device_id, uint8_t product_id, const register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &oilPreHeat_, DeviceValueType::BOOL, FL_(oilPreHeat), DeviceValueUOM::NONE); // remove burnMinPower, #2918, add back for 0xE6, #3193 register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, - &burnMinPower_, + &burnMinPower_, DeviceValueType::UINT8, FL_(burnMinPower), DeviceValueUOM::PERCENT,