mirror of
https://github.com/Laxilef/OTGateway.git
synced 2025-12-12 03:04:27 +05:00
refactor: sensors type settings moved to portal, entities for HA have been deleted; logging settings moved; bump version
This commit is contained in:
@@ -257,7 +257,7 @@ protected:
|
||||
return;
|
||||
}
|
||||
|
||||
if (settings.debug) {
|
||||
if (settings.system.debug) {
|
||||
Log.strace(FPSTR(L_MQTT_MSG), F("Topic: %s\r\n> "), topic);
|
||||
if (Log.lock()) {
|
||||
for (size_t i = 0; i < length; i++) {
|
||||
@@ -328,11 +328,8 @@ protected:
|
||||
|
||||
void publishHaEntities() {
|
||||
// main
|
||||
this->haHelper->publishSelectOutdoorSensorType();
|
||||
this->haHelper->publishSelectIndoorSensorType();
|
||||
this->haHelper->publishNumberOutdoorSensorOffset(false);
|
||||
this->haHelper->publishNumberIndoorSensorOffset(false);
|
||||
this->haHelper->publishSwitchDebug(false);
|
||||
|
||||
// emergency
|
||||
this->haHelper->publishSwitchEmergency();
|
||||
|
||||
Reference in New Issue
Block a user