mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 17:54:13 +01:00
Fix missing dependencies for heatpumpir (#3933)
This commit is contained in:
parent
615288c151
commit
96e8cb66b6
2 changed files with 15 additions and 9 deletions
|
@ -8,6 +8,7 @@ from esphome.const import (
|
||||||
CONF_PROTOCOL,
|
CONF_PROTOCOL,
|
||||||
CONF_VISUAL,
|
CONF_VISUAL,
|
||||||
)
|
)
|
||||||
|
from esphome.core import CORE
|
||||||
|
|
||||||
CODEOWNERS = ["@rob-deutsch"]
|
CODEOWNERS = ["@rob-deutsch"]
|
||||||
|
|
||||||
|
@ -115,3 +116,6 @@ def to_code(config):
|
||||||
cg.add(var.set_min_temperature(config[CONF_MIN_TEMPERATURE]))
|
cg.add(var.set_min_temperature(config[CONF_MIN_TEMPERATURE]))
|
||||||
|
|
||||||
cg.add_library("tonia/HeatpumpIR", "1.0.20")
|
cg.add_library("tonia/HeatpumpIR", "1.0.20")
|
||||||
|
|
||||||
|
if CORE.is_esp8266 or CORE.is_esp32:
|
||||||
|
cg.add_library("crankyoldgit/IRremoteESP8266", "2.7.12")
|
||||||
|
|
|
@ -92,6 +92,7 @@ lib_deps =
|
||||||
ESP8266HTTPClient ; http_request (Arduino built-in)
|
ESP8266HTTPClient ; http_request (Arduino built-in)
|
||||||
ESP8266mDNS ; mdns (Arduino built-in)
|
ESP8266mDNS ; mdns (Arduino built-in)
|
||||||
DNSServer ; captive_portal (Arduino built-in)
|
DNSServer ; captive_portal (Arduino built-in)
|
||||||
|
crankyoldgit/IRremoteESP8266@2.7.12 ; heatpumpir
|
||||||
build_flags =
|
build_flags =
|
||||||
${common:arduino.build_flags}
|
${common:arduino.build_flags}
|
||||||
-Wno-nonnull-compare
|
-Wno-nonnull-compare
|
||||||
|
@ -121,6 +122,7 @@ lib_deps =
|
||||||
ESPmDNS ; mdns (Arduino built-in)
|
ESPmDNS ; mdns (Arduino built-in)
|
||||||
DNSServer ; captive_portal (Arduino built-in)
|
DNSServer ; captive_portal (Arduino built-in)
|
||||||
esphome/ESP32-audioI2S@2.1.0 ; i2s_audio
|
esphome/ESP32-audioI2S@2.1.0 ; i2s_audio
|
||||||
|
crankyoldgit/IRremoteESP8266@2.7.12 ; heatpumpir
|
||||||
build_flags =
|
build_flags =
|
||||||
${common:arduino.build_flags}
|
${common:arduino.build_flags}
|
||||||
-DUSE_ESP32
|
-DUSE_ESP32
|
||||||
|
|
Loading…
Reference in a new issue