mirror of
https://github.com/esphome/esphome.git
synced 2026-05-24 00:12:07 +08:00
Update arduino-heatpumpir and add new protocol for Panasonic AC (#8309)
CI for docker images / Build docker containers (docker, ubuntu-24.04-arm) (push) Waiting to run
CI for docker images / Build docker containers (docker, ubuntu-latest) (push) Waiting to run
CI for docker images / Build docker containers (ha-addon, ubuntu-24.04-arm) (push) Waiting to run
CI for docker images / Build docker containers (ha-addon, ubuntu-latest) (push) Waiting to run
CI for docker images / Build docker containers (lint, ubuntu-24.04-arm) (push) Waiting to run
CI for docker images / Build docker containers (lint, ubuntu-latest) (push) Waiting to run
CI / Create common environment (push) Waiting to run
CI / Check ruff (push) Blocked by required conditions
CI / Check flake8 (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Check pyupgrade (push) Blocked by required conditions
CI / Run script/ci-custom (push) Blocked by required conditions
CI / Run pytest (macOS-latest, 3.11) (push) Blocked by required conditions
CI / Run pytest (ubuntu-latest, 3.10) (push) Blocked by required conditions
CI / Run pytest (ubuntu-latest, 3.11) (push) Blocked by required conditions
CI / Run pytest (ubuntu-latest, 3.12) (push) Blocked by required conditions
CI / Run pytest (ubuntu-latest, 3.9) (push) Blocked by required conditions
CI / Run pytest (windows-latest, 3.11) (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / list-components (push) Blocked by required conditions
CI / Component test ${{ matrix.file }} (push) Blocked by required conditions
CI / Split components for testing into 20 groups maximum (push) Blocked by required conditions
CI / Test split components (push) Blocked by required conditions
CI / CI Status (push) Blocked by required conditions
CI for docker images / Build docker containers (docker, ubuntu-24.04-arm) (push) Waiting to run
CI for docker images / Build docker containers (docker, ubuntu-latest) (push) Waiting to run
CI for docker images / Build docker containers (ha-addon, ubuntu-24.04-arm) (push) Waiting to run
CI for docker images / Build docker containers (ha-addon, ubuntu-latest) (push) Waiting to run
CI for docker images / Build docker containers (lint, ubuntu-24.04-arm) (push) Waiting to run
CI for docker images / Build docker containers (lint, ubuntu-latest) (push) Waiting to run
CI / Create common environment (push) Waiting to run
CI / Check ruff (push) Blocked by required conditions
CI / Check flake8 (push) Blocked by required conditions
CI / Check pylint (push) Blocked by required conditions
CI / Check pyupgrade (push) Blocked by required conditions
CI / Run script/ci-custom (push) Blocked by required conditions
CI / Run pytest (macOS-latest, 3.11) (push) Blocked by required conditions
CI / Run pytest (ubuntu-latest, 3.10) (push) Blocked by required conditions
CI / Run pytest (ubuntu-latest, 3.11) (push) Blocked by required conditions
CI / Run pytest (ubuntu-latest, 3.12) (push) Blocked by required conditions
CI / Run pytest (ubuntu-latest, 3.9) (push) Blocked by required conditions
CI / Run pytest (windows-latest, 3.11) (push) Blocked by required conditions
CI / Check clang-format (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 1/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 2/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 3/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 Arduino 4/4 (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP32 IDF (push) Blocked by required conditions
CI / Run script/clang-tidy for ESP8266 (push) Blocked by required conditions
CI / list-components (push) Blocked by required conditions
CI / Component test ${{ matrix.file }} (push) Blocked by required conditions
CI / Split components for testing into 20 groups maximum (push) Blocked by required conditions
CI / Test split components (push) Blocked by required conditions
CI / CI Status (push) Blocked by required conditions
This commit is contained in:
@@ -53,6 +53,7 @@ PROTOCOLS = {
|
||||
"mitsubishi_sez": Protocol.PROTOCOL_MITSUBISHI_SEZ,
|
||||
"panasonic_ckp": Protocol.PROTOCOL_PANASONIC_CKP,
|
||||
"panasonic_dke": Protocol.PROTOCOL_PANASONIC_DKE,
|
||||
"panasonic_eke": Protocol.PROTOCOL_PANASONIC_EKE,
|
||||
"panasonic_jke": Protocol.PROTOCOL_PANASONIC_JKE,
|
||||
"panasonic_lke": Protocol.PROTOCOL_PANASONIC_LKE,
|
||||
"panasonic_nke": Protocol.PROTOCOL_PANASONIC_NKE,
|
||||
@@ -127,6 +128,6 @@ def to_code(config):
|
||||
cg.add(var.set_max_temperature(config[CONF_MAX_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.32")
|
||||
if CORE.is_libretiny:
|
||||
CORE.add_platformio_option("lib_ignore", "IRremoteESP8266")
|
||||
|
||||
@@ -47,6 +47,7 @@ const std::map<Protocol, std::function<HeatpumpIR *()>> PROTOCOL_CONSTRUCTOR_MAP
|
||||
{PROTOCOL_MITSUBISHI_SEZ, []() { return new MitsubishiSEZKDXXHeatpumpIR(); }}, // NOLINT
|
||||
{PROTOCOL_PANASONIC_CKP, []() { return new PanasonicCKPHeatpumpIR(); }}, // NOLINT
|
||||
{PROTOCOL_PANASONIC_DKE, []() { return new PanasonicDKEHeatpumpIR(); }}, // NOLINT
|
||||
{PROTOCOL_PANASONIC_EKE, []() { return new PanasonicEKEHeatpumpIR(); }}, // NOLINT
|
||||
{PROTOCOL_PANASONIC_JKE, []() { return new PanasonicJKEHeatpumpIR(); }}, // NOLINT
|
||||
{PROTOCOL_PANASONIC_LKE, []() { return new PanasonicLKEHeatpumpIR(); }}, // NOLINT
|
||||
{PROTOCOL_PANASONIC_NKE, []() { return new PanasonicNKEHeatpumpIR(); }}, // NOLINT
|
||||
|
||||
@@ -47,6 +47,7 @@ enum Protocol {
|
||||
PROTOCOL_MITSUBISHI_SEZ,
|
||||
PROTOCOL_PANASONIC_CKP,
|
||||
PROTOCOL_PANASONIC_DKE,
|
||||
PROTOCOL_PANASONIC_EKE,
|
||||
PROTOCOL_PANASONIC_JKE,
|
||||
PROTOCOL_PANASONIC_LKE,
|
||||
PROTOCOL_PANASONIC_NKE,
|
||||
|
||||
+1
-1
@@ -69,7 +69,7 @@ lib_deps =
|
||||
glmnet/Dsmr@0.7 ; dsmr
|
||||
rweather/Crypto@0.4.0 ; dsmr
|
||||
dudanov/MideaUART@1.1.9 ; midea
|
||||
tonia/HeatpumpIR@1.0.27 ; heatpumpir
|
||||
tonia/HeatpumpIR@1.0.32 ; heatpumpir
|
||||
build_flags =
|
||||
${common.build_flags}
|
||||
-DUSE_ARDUINO
|
||||
|
||||
Reference in New Issue
Block a user