mirror of
https://github.com/esphome/esphome.git
synced 2024-11-25 16:38:16 +01:00
Add support for Electrolux heatpump and bump arduino-heatpumpir version (#3353)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
parent
ba8d255cb4
commit
d4ff98680a
4 changed files with 5 additions and 6 deletions
|
@ -25,6 +25,7 @@ PROTOCOLS = {
|
||||||
"daikin_arc417": Protocol.PROTOCOL_DAIKIN_ARC417,
|
"daikin_arc417": Protocol.PROTOCOL_DAIKIN_ARC417,
|
||||||
"daikin_arc480": Protocol.PROTOCOL_DAIKIN_ARC480,
|
"daikin_arc480": Protocol.PROTOCOL_DAIKIN_ARC480,
|
||||||
"daikin": Protocol.PROTOCOL_DAIKIN,
|
"daikin": Protocol.PROTOCOL_DAIKIN,
|
||||||
|
"electroluxyal": Protocol.PROTOCOL_ELECTROLUXYAL,
|
||||||
"fuego": Protocol.PROTOCOL_FUEGO,
|
"fuego": Protocol.PROTOCOL_FUEGO,
|
||||||
"fujitsu_awyz": Protocol.PROTOCOL_FUJITSU_AWYZ,
|
"fujitsu_awyz": Protocol.PROTOCOL_FUJITSU_AWYZ,
|
||||||
"gree": Protocol.PROTOCOL_GREE,
|
"gree": Protocol.PROTOCOL_GREE,
|
||||||
|
@ -112,6 +113,4 @@ def to_code(config):
|
||||||
cg.add(var.set_max_temperature(config[CONF_MAX_TEMPERATURE]))
|
cg.add(var.set_max_temperature(config[CONF_MAX_TEMPERATURE]))
|
||||||
cg.add(var.set_min_temperature(config[CONF_MIN_TEMPERATURE]))
|
cg.add(var.set_min_temperature(config[CONF_MIN_TEMPERATURE]))
|
||||||
|
|
||||||
# PIO isn't updating releases, so referencing the release tag directly. See:
|
cg.add_library("tonia/HeatpumpIR", "1.0.20")
|
||||||
# https://github.com/ToniA/arduino-heatpumpir/commit/0948c619d86407a4e50e8db2f3c193e0576c86fd
|
|
||||||
cg.add_library("", "", "https://github.com/ToniA/arduino-heatpumpir.git#1.0.18")
|
|
||||||
|
|
|
@ -20,6 +20,7 @@ const std::map<Protocol, std::function<HeatpumpIR *()>> PROTOCOL_CONSTRUCTOR_MAP
|
||||||
{PROTOCOL_DAIKIN_ARC417, []() { return new DaikinHeatpumpARC417IR(); }}, // NOLINT
|
{PROTOCOL_DAIKIN_ARC417, []() { return new DaikinHeatpumpARC417IR(); }}, // NOLINT
|
||||||
{PROTOCOL_DAIKIN_ARC480, []() { return new DaikinHeatpumpARC480A14IR(); }}, // NOLINT
|
{PROTOCOL_DAIKIN_ARC480, []() { return new DaikinHeatpumpARC480A14IR(); }}, // NOLINT
|
||||||
{PROTOCOL_DAIKIN, []() { return new DaikinHeatpumpIR(); }}, // NOLINT
|
{PROTOCOL_DAIKIN, []() { return new DaikinHeatpumpIR(); }}, // NOLINT
|
||||||
|
{PROTOCOL_ELECTROLUXYAL, []() { return new ElectroluxYALHeatpumpIR(); }}, // NOLINT
|
||||||
{PROTOCOL_FUEGO, []() { return new FuegoHeatpumpIR(); }}, // NOLINT
|
{PROTOCOL_FUEGO, []() { return new FuegoHeatpumpIR(); }}, // NOLINT
|
||||||
{PROTOCOL_FUJITSU_AWYZ, []() { return new FujitsuHeatpumpIR(); }}, // NOLINT
|
{PROTOCOL_FUJITSU_AWYZ, []() { return new FujitsuHeatpumpIR(); }}, // NOLINT
|
||||||
{PROTOCOL_GREE, []() { return new GreeGenericHeatpumpIR(); }}, // NOLINT
|
{PROTOCOL_GREE, []() { return new GreeGenericHeatpumpIR(); }}, // NOLINT
|
||||||
|
|
|
@ -20,6 +20,7 @@ enum Protocol {
|
||||||
PROTOCOL_DAIKIN_ARC417,
|
PROTOCOL_DAIKIN_ARC417,
|
||||||
PROTOCOL_DAIKIN_ARC480,
|
PROTOCOL_DAIKIN_ARC480,
|
||||||
PROTOCOL_DAIKIN,
|
PROTOCOL_DAIKIN,
|
||||||
|
PROTOCOL_ELECTROLUXYAL,
|
||||||
PROTOCOL_FUEGO,
|
PROTOCOL_FUEGO,
|
||||||
PROTOCOL_FUJITSU_AWYZ,
|
PROTOCOL_FUJITSU_AWYZ,
|
||||||
PROTOCOL_GREE,
|
PROTOCOL_GREE,
|
||||||
|
|
|
@ -62,9 +62,7 @@ lib_deps =
|
||||||
glmnet/Dsmr@0.5 ; dsmr
|
glmnet/Dsmr@0.5 ; dsmr
|
||||||
rweather/Crypto@0.2.0 ; dsmr
|
rweather/Crypto@0.2.0 ; dsmr
|
||||||
dudanov/MideaUART@1.1.8 ; midea
|
dudanov/MideaUART@1.1.8 ; midea
|
||||||
; PIO isn't update releases correctly, see:
|
tonia/HeatpumpIR@1.0.20 ; heatpumpir
|
||||||
; https://github.com/ToniA/arduino-heatpumpir/commit/0948c619d86407a4e50e8db2f3c193e0576c86fd
|
|
||||||
https://github.com/ToniA/arduino-heatpumpir.git#1.0.18 ; heatpumpir
|
|
||||||
build_flags =
|
build_flags =
|
||||||
${common.build_flags}
|
${common.build_flags}
|
||||||
-DUSE_ARDUINO
|
-DUSE_ARDUINO
|
||||||
|
|
Loading…
Reference in a new issue