diff options
author | Kaufman Home Automation <[email protected]> | 2022-03-11 17:10:50 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-03-11 17:10:50 -0700 |
commit | f723e249d1453772aa7b19881f1f2c69b33a815e (patch) | |
tree | b204ccacbbdc20fe414f32cb5f7dab4663d3e491 | |
parent | 6dedfb65c5eae1d1206c6010612d1d479b83e9b6 (diff) | |
download | PLF10-f723e249d1453772aa7b19881f1f2c69b33a815e.tar.gz PLF10-f723e249d1453772aa7b19881f1f2c69b33a815e.zip |
Add blue led light entity to memory map
-rw-r--r-- | components/esp8266/preferences.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/esp8266/preferences.cpp b/components/esp8266/preferences.cpp index f96b6af..c39015b 100644 --- a/components/esp8266/preferences.cpp +++ b/components/esp8266/preferences.cpp @@ -193,7 +193,7 @@ class ESP8266Preferences : public ESPPreferences { uint32_t start; - uint32_t start_free = 44; + uint32_t start_free = 56; // ESPHome just assigns addresses as they pop up, but we want to preserve all addresses so they always remain // the same after an update and then saved values are always loaded properly after update. Address is based on @@ -209,7 +209,8 @@ class ESP8266Preferences : public ESPPreferences { else if ( type == 3104663617 ) { start = 36; } // v1.6 - Select 2 (LED) else if ( type == 629479035 ) { start = 38; } // v1.6 - Force AP Global Variable else if ( type == 3755051405 ) { start = 40; } // v1.7 - First Boot - for factory testing - else if ( type == 657159011 ) { start = 42; } // v1.8 - HTTP-Only switch + else if ( type == 657159011 ) { start = 42; } // v1.8 - No API switch + else if ( type == 3831461887 ) { start = 44; } // v1.8 - Blue LED Monochromatic Light // temporary workaround for always using same address for wifi even with random hash else if ( length_words == 25 ) { start = 8; } |