text changes and comments

This commit is contained in:
proddy
2026-09-11 16:27:53 +02:00
parent 274b5635b0
commit a1a880b8c3
3 changed files with 3 additions and 2 deletions
+1
View File
@@ -87,6 +87,7 @@ void AnalogSensor::start(const bool factory_settings) {
return StateUpdateResult::CHANGED; // persist the change
});
LOG_DEBUG("Adding system sensors for core_voltage, supply_voltage and led");
}
reload(true); // fetch the list of sensors from our customization service
+1 -1
View File
@@ -213,7 +213,7 @@ void TemperatureSensor::loop() {
if (!EMSESP::nvs_.isKey("intTemp")) {
EMSESP::nvs_.putString("intTemp", s->id());
}
// LOG_NOTICE("Adding system sensor for gateway temperature %s", s->id().c_str());
LOG_DEBUG("Adding system sensor for gateway_temperature");
EMSESP::webCustomizationService.update([&](WebCustomization & settings) {
auto newSensor = SensorCustomization();
strlcpy(newSensor.id, s->id(), sizeof(newSensor.id));
+1 -1
View File
@@ -456,7 +456,7 @@ void WebSettings::set_board_profile(WebSettings & settings) {
String bbq_board = EMSESP::system_.getBBQKeesGatewayDetails(FUSE_VALUE::BOARD);
if (!bbq_board.isEmpty() && settings.board_profile != "CUSTOM") {
#if defined(EMSESP_DEBUG)
EMSESP::logger().info("Overriding board profile with fuse value %s", bbq_board.c_str());
EMSESP::logger().info("Overriding board profile with eFuse value %s", bbq_board.c_str());
#endif
settings.board_profile = bbq_board;
}