Browse Source

A bit of cleanup (debug msg + unused includes)

pull/9/head
Maurice Makaay 3 years ago
parent
commit
76cb8a8eb8
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      light/presets.h

+ 0
- 3
light/presets.h View File

@ -2,8 +2,6 @@
#include "../common.h"
#include "esphome/core/optional.h"
#include <functional>
#include <vector>
namespace esphome {
namespace xiaomi {
@ -87,7 +85,6 @@ public:
Preset *get_preset(std::string p_name) {
for (auto p = first_preset; p != nullptr; p = p->next_preset) {
ESP_LOGE(TAG, "CHECK '%s' vs '%s'", p_name.c_str(), p->name.c_str());
if (p->name == p_name) {
return p;
}


Loading…
Cancel
Save