mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Mitsubishi Heat Pump - Fixed default transmit_state to be generic instead of for a specific type of heat pump (#1414)
Co-authored-by: RubyBailey <ruby_bailey11@hotmail.com> Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
		| @@ -63,6 +63,7 @@ esphome/components/mcp2515/* @danielschramm @mvturnho | ||||
| esphome/components/mcp9808/* @k7hpn | ||||
| esphome/components/midea_ac/* @dudanov | ||||
| esphome/components/midea_dongle/* @dudanov | ||||
| esphome/components/mitsubishi/* @RubyBailey | ||||
| esphome/components/network/* @esphome/core | ||||
| esphome/components/nfc/* @jesserockz | ||||
| esphome/components/ota/* @esphome/core | ||||
|   | ||||
| @@ -3,6 +3,7 @@ import esphome.config_validation as cv | ||||
| from esphome.components import climate_ir | ||||
| from esphome.const import CONF_ID | ||||
|  | ||||
| CODEOWNERS = ["@RubyBailey"] | ||||
| AUTO_LOAD = ["climate_ir"] | ||||
|  | ||||
| mitsubishi_ns = cg.esphome_ns.namespace("mitsubishi") | ||||
|   | ||||
| @@ -23,8 +23,8 @@ const uint16_t MITSUBISHI_HEADER_SPACE = 1700; | ||||
| const uint16_t MITSUBISHI_MIN_GAP = 17500; | ||||
|  | ||||
| void MitsubishiClimate::transmit_state() { | ||||
|   uint32_t remote_state[18] = {0x23, 0xCB, 0x26, 0x01, 0x00, 0x20, 0x48, 0x00, 0x30, | ||||
|                                0x58, 0x61, 0x00, 0x00, 0x00, 0x10, 0x40, 0x00, 0x00}; | ||||
|   uint32_t remote_state[18] = {0x23, 0xCB, 0x26, 0x01, 0x00, 0x20, 0x08, 0x00, 0x30, | ||||
|                                0x58, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; | ||||
|  | ||||
|   switch (this->mode) { | ||||
|     case climate::CLIMATE_MODE_COOL: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user