address copilot review comments

This commit is contained in:
J. Nick Koston
2026-01-08 22:25:16 -10:00
parent a3553dab1c
commit 872b2ec7db
+1
View File
@@ -153,6 +153,7 @@ class Fan : public EntityBase {
void dump_traits_(const char *tag, const char *prefix);
/// Set the preset mode (finds and stores pointer from traits). Returns true if changed.
/// Passing nullptr or empty string clears the preset mode.
bool set_preset_mode_(const char *preset_mode, size_t len);
bool set_preset_mode_(const char *preset_mode);
bool set_preset_mode_(const std::string &preset_mode);