mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	Bump arduino-heatpumpir to v1.0.23 (#5269)
This commit is contained in:
		| @@ -33,6 +33,7 @@ PROTOCOLS = { | |||||||
|     "greeya": Protocol.PROTOCOL_GREEYAA, |     "greeya": Protocol.PROTOCOL_GREEYAA, | ||||||
|     "greeyan": Protocol.PROTOCOL_GREEYAN, |     "greeyan": Protocol.PROTOCOL_GREEYAN, | ||||||
|     "greeyac": Protocol.PROTOCOL_GREEYAC, |     "greeyac": Protocol.PROTOCOL_GREEYAC, | ||||||
|  |     "greeyt": Protocol.PROTOCOL_GREEYT, | ||||||
|     "hisense_aud": Protocol.PROTOCOL_HISENSE_AUD, |     "hisense_aud": Protocol.PROTOCOL_HISENSE_AUD, | ||||||
|     "hitachi": Protocol.PROTOCOL_HITACHI, |     "hitachi": Protocol.PROTOCOL_HITACHI, | ||||||
|     "hyundai": Protocol.PROTOCOL_HYUNDAI, |     "hyundai": Protocol.PROTOCOL_HYUNDAI, | ||||||
| @@ -115,7 +116,7 @@ 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])) | ||||||
|  |  | ||||||
|     cg.add_library("tonia/HeatpumpIR", "1.0.20") |     cg.add_library("tonia/HeatpumpIR", "1.0.23") | ||||||
|  |  | ||||||
|     if CORE.is_esp8266 or CORE.is_esp32: |     if CORE.is_esp8266 or CORE.is_esp32: | ||||||
|         cg.add_library("crankyoldgit/IRremoteESP8266", "2.7.12") |         cg.add_library("crankyoldgit/IRremoteESP8266", "2.7.12") | ||||||
|   | |||||||
| @@ -27,6 +27,7 @@ const std::map<Protocol, std::function<HeatpumpIR *()>> PROTOCOL_CONSTRUCTOR_MAP | |||||||
|     {PROTOCOL_GREEYAA, []() { return new GreeYAAHeatpumpIR(); }},                            // NOLINT |     {PROTOCOL_GREEYAA, []() { return new GreeYAAHeatpumpIR(); }},                            // NOLINT | ||||||
|     {PROTOCOL_GREEYAN, []() { return new GreeYANHeatpumpIR(); }},                            // NOLINT |     {PROTOCOL_GREEYAN, []() { return new GreeYANHeatpumpIR(); }},                            // NOLINT | ||||||
|     {PROTOCOL_GREEYAC, []() { return new GreeYACHeatpumpIR(); }},                            // NOLINT |     {PROTOCOL_GREEYAC, []() { return new GreeYACHeatpumpIR(); }},                            // NOLINT | ||||||
|  |     {PROTOCOL_GREEYT, []() { return new GreeYTHeatpumpIR(); }},                              // NOLINT | ||||||
|     {PROTOCOL_HISENSE_AUD, []() { return new HisenseHeatpumpIR(); }},                        // NOLINT |     {PROTOCOL_HISENSE_AUD, []() { return new HisenseHeatpumpIR(); }},                        // NOLINT | ||||||
|     {PROTOCOL_HITACHI, []() { return new HitachiHeatpumpIR(); }},                            // NOLINT |     {PROTOCOL_HITACHI, []() { return new HitachiHeatpumpIR(); }},                            // NOLINT | ||||||
|     {PROTOCOL_HYUNDAI, []() { return new HyundaiHeatpumpIR(); }},                            // NOLINT |     {PROTOCOL_HYUNDAI, []() { return new HyundaiHeatpumpIR(); }},                            // NOLINT | ||||||
|   | |||||||
| @@ -27,6 +27,7 @@ enum Protocol { | |||||||
|   PROTOCOL_GREEYAA, |   PROTOCOL_GREEYAA, | ||||||
|   PROTOCOL_GREEYAN, |   PROTOCOL_GREEYAN, | ||||||
|   PROTOCOL_GREEYAC, |   PROTOCOL_GREEYAC, | ||||||
|  |   PROTOCOL_GREEYT, | ||||||
|   PROTOCOL_HISENSE_AUD, |   PROTOCOL_HISENSE_AUD, | ||||||
|   PROTOCOL_HITACHI, |   PROTOCOL_HITACHI, | ||||||
|   PROTOCOL_HYUNDAI, |   PROTOCOL_HYUNDAI, | ||||||
|   | |||||||
| @@ -64,7 +64,7 @@ lib_deps = | |||||||
|     glmnet/Dsmr@0.7                                       ; dsmr |     glmnet/Dsmr@0.7                                       ; dsmr | ||||||
|     rweather/Crypto@0.4.0                                 ; dsmr |     rweather/Crypto@0.4.0                                 ; dsmr | ||||||
|     dudanov/MideaUART@1.1.8                               ; midea |     dudanov/MideaUART@1.1.8                               ; midea | ||||||
|     tonia/HeatpumpIR@1.0.20                               ; heatpumpir |     tonia/HeatpumpIR@1.0.23                               ; heatpumpir | ||||||
| build_flags = | build_flags = | ||||||
|     ${common.build_flags} |     ${common.build_flags} | ||||||
|     -DUSE_ARDUINO |     -DUSE_ARDUINO | ||||||
|   | |||||||
| @@ -2299,6 +2299,13 @@ climate: | |||||||
|     name: HeatpumpIR Climate |     name: HeatpumpIR Climate | ||||||
|     min_temperature: 18 |     min_temperature: 18 | ||||||
|     max_temperature: 30 |     max_temperature: 30 | ||||||
|  |   - platform: heatpumpir | ||||||
|  |     protocol: greeyt | ||||||
|  |     horizontal_default: left | ||||||
|  |     vertical_default: up | ||||||
|  |     name: HeatpumpIR Climate | ||||||
|  |     min_temperature: 18 | ||||||
|  |     max_temperature: 30 | ||||||
|   - platform: midea_ir |   - platform: midea_ir | ||||||
|     name: Midea IR |     name: Midea IR | ||||||
|     use_fahrenheit: true |     use_fahrenheit: true | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user