mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 08:19:52 +03:00
Move dallas/bool/enum formats to Settings #76
This commit is contained in:
@@ -26,13 +26,15 @@ class DummySettings {
|
||||
bool shower_alert = false;
|
||||
bool hide_led = false;
|
||||
bool notoken_api = false;
|
||||
uint8_t bool_format = 1; // on off
|
||||
uint8_t enum_format = 1;
|
||||
uint8_t dallas_format = 1;
|
||||
|
||||
// MQTT
|
||||
uint16_t publish_time = 10; // seconds
|
||||
uint8_t mqtt_qos = 0;
|
||||
bool mqtt_retain = false;
|
||||
bool enabled = true;
|
||||
uint8_t dallas_format = 1;
|
||||
uint8_t nested_format = 1;
|
||||
uint8_t ha_climate_format = 1;
|
||||
bool ha_enabled = true;
|
||||
@@ -56,7 +58,6 @@ class DummySettings {
|
||||
uint16_t publish_time_mixer = 10;
|
||||
uint16_t publish_time_other = 10;
|
||||
uint16_t publish_time_sensor = 10;
|
||||
uint8_t bool_format = 1; // on off
|
||||
|
||||
#define FACTORY_MQTT_MAX_TOPIC_LENGTH 128
|
||||
|
||||
|
||||
Reference in New Issue
Block a user