mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 16:38:16 +01:00
[heatpumpir] Fix BK72XX Compile error with IRremoteESP8266 (#6955)
This commit is contained in:
parent
74aee1d453
commit
626ed815fb
2 changed files with 10 additions and 0 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"]
|
||||||
|
|
||||||
|
@ -127,3 +128,5 @@ 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.27")
|
cg.add_library("tonia/HeatpumpIR", "1.0.27")
|
||||||
|
if CORE.is_libretiny:
|
||||||
|
CORE.add_platformio_option("lib_ignore", "IRremoteESP8266")
|
||||||
|
|
|
@ -3,6 +3,13 @@ remote_transmitter:
|
||||||
carrier_duty_percent: 50%
|
carrier_duty_percent: 50%
|
||||||
|
|
||||||
climate:
|
climate:
|
||||||
|
- platform: heatpumpir
|
||||||
|
protocol: mitsubishi_heavy_zm
|
||||||
|
horizontal_default: left
|
||||||
|
vertical_default: up
|
||||||
|
name: HeatpumpIR Climate
|
||||||
|
min_temperature: 18
|
||||||
|
max_temperature: 30
|
||||||
- platform: heatpumpir
|
- platform: heatpumpir
|
||||||
protocol: daikin
|
protocol: daikin
|
||||||
horizontal_default: mleft
|
horizontal_default: mleft
|
||||||
|
|
Loading…
Reference in a new issue