ESPHome 2026.12.0-dev
Loading...
Searching...
No Matches
preferences.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  esphome
 

Functions

 esphome::ESPHOME_LOG_TAG (TAG, "preferences")
 
bool esphome::migrate_preference (ESPPreferenceObject &new_pref, uint8_t *scratch, size_t size, uint32_t old_key, uint32_t new_key)
 Copy preference data stored under old_key into new_pref (created for new_key) if the keys differ and new_pref has no data yet.