mirror of
https://github.com/esphome/esphome.git
synced 2024-12-24 22:44:54 +01:00
[heatpumpir] Fix BK72XX Compile error with IRremoteESP8266 (#6955)
This commit is contained in:
parent
cfb20abb9f
commit
fbc830176f
2 changed files with 10 additions and 0 deletions
|
@ -8,6 +8,7 @@ from esphome.const import (
|
|||
CONF_PROTOCOL,
|
||||
CONF_VISUAL,
|
||||
)
|
||||
from esphome.core import CORE
|
||||
|
||||
CODEOWNERS = ["@rob-deutsch"]
|
||||
|
||||
|
@ -127,3 +128,5 @@ def to_code(config):
|
|||
cg.add(var.set_min_temperature(config[CONF_MIN_TEMPERATURE]))
|
||||
|
||||
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%
|
||||
|
||||
climate:
|
||||
- platform: heatpumpir
|
||||
protocol: mitsubishi_heavy_zm
|
||||
horizontal_default: left
|
||||
vertical_default: up
|
||||
name: HeatpumpIR Climate
|
||||
min_temperature: 18
|
||||
max_temperature: 30
|
||||
- platform: heatpumpir
|
||||
protocol: daikin
|
||||
horizontal_default: mleft
|
||||
|
|
Loading…
Reference in a new issue