mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
some minor formatting
This commit is contained in:
@@ -87,7 +87,7 @@ class Solar : public EMSdevice {
|
|||||||
|
|
||||||
// telegram 0x380
|
// telegram 0x380
|
||||||
uint8_t climateZone_ = EMS_VALUE_UINT_NOTSET; // climate zone identifier
|
uint8_t climateZone_ = EMS_VALUE_UINT_NOTSET; // climate zone identifier
|
||||||
uint16_t collector1Area_ = EMS_VALUE_USHORT_NOTSET;// Area of collector field 1
|
uint16_t collector1Area_ = EMS_VALUE_USHORT_NOTSET; // Area of collector field 1
|
||||||
uint8_t collector1Type_ = EMS_VALUE_UINT_NOTSET; // Type of collector field 1, 01=flat, 02=vacuum
|
uint8_t collector1Type_ = EMS_VALUE_UINT_NOTSET; // Type of collector field 1, 01=flat, 02=vacuum
|
||||||
|
|
||||||
bool changed_ = false;
|
bool changed_ = false;
|
||||||
|
|||||||
@@ -54,7 +54,6 @@ class Switch : public EMSdevice {
|
|||||||
uint8_t activated_ = EMS_VALUE_BOOL_NOTSET;
|
uint8_t activated_ = EMS_VALUE_BOOL_NOTSET;
|
||||||
bool changed_ = false;
|
bool changed_ = false;
|
||||||
bool mqtt_ha_config_ = false; // for HA MQTT Discovery
|
bool mqtt_ha_config_ = false; // for HA MQTT Discovery
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace emsesp
|
} // namespace emsesp
|
||||||
|
|||||||
@@ -753,7 +753,7 @@ bool System::check_upgrade() {
|
|||||||
bool failed = false;
|
bool failed = false;
|
||||||
File file;
|
File file;
|
||||||
JsonObject network, general, mqtt, custom_settings;
|
JsonObject network, general, mqtt, custom_settings;
|
||||||
StaticJsonDocument<1024> doc;
|
StaticJsonDocument<EMSESP_MAX_JSON_SIZE_LARGE> doc;
|
||||||
|
|
||||||
// open the system settings:
|
// open the system settings:
|
||||||
// {
|
// {
|
||||||
|
|||||||
Reference in New Issue
Block a user