How to specify build flags to ESPHome yaml #1611
-
Hi all, does any one knows how I write down build_flags to ESPHome yaml? For instance, I set the build_flags in my ESPHome yaml like:
but the compiler included the all features. I wanted to use only Mitsubishi A/C feature. Is something wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I'm not sure as I don't use ESPHome, so you're best asking them if you've got the build flags component correct. What I can point out is that you've probably enabling the incorrect IR protocol. The Mitsubishi A/Cs don't typically use the IRremoteESP8266/src/IRremoteESP8266.h Lines 268 to 287 in 74f4136 That said, at first glance, you're using the library's build flags correctly. I'd have expected only the |
Beta Was this translation helpful? Give feedback.
I'm not sure as I don't use ESPHome, so you're best asking them if you've got the build flags component correct.
What I can point out is that you've probably enabling the incorrect IR protocol. The Mitsubishi A/Cs don't typically use the
MITSUBISHI
protocol. You probably want to enable one of these:IRremoteESP8266/src/IRremoteESP8266.h
Lines 268 to 287 in 74f4136