mirror of
https://github.com/esphome/esphome.git
synced 2024-12-01 13:13:54 +01: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:
parent
29fc4af0fc
commit
1e46b4073f
@ -63,6 +63,7 @@ esphome/components/mcp2515/* @danielschramm @mvturnho
|
|||||||
esphome/components/mcp9808/* @k7hpn
|
esphome/components/mcp9808/* @k7hpn
|
||||||
esphome/components/midea_ac/* @dudanov
|
esphome/components/midea_ac/* @dudanov
|
||||||
esphome/components/midea_dongle/* @dudanov
|
esphome/components/midea_dongle/* @dudanov
|
||||||
|
esphome/components/mitsubishi/* @RubyBailey
|
||||||
esphome/components/network/* @esphome/core
|
esphome/components/network/* @esphome/core
|
||||||
esphome/components/nfc/* @jesserockz
|
esphome/components/nfc/* @jesserockz
|
||||||
esphome/components/ota/* @esphome/core
|
esphome/components/ota/* @esphome/core
|
||||||
|
@ -3,6 +3,7 @@ import esphome.config_validation as cv
|
|||||||
from esphome.components import climate_ir
|
from esphome.components import climate_ir
|
||||||
from esphome.const import CONF_ID
|
from esphome.const import CONF_ID
|
||||||
|
|
||||||
|
CODEOWNERS = ["@RubyBailey"]
|
||||||
AUTO_LOAD = ["climate_ir"]
|
AUTO_LOAD = ["climate_ir"]
|
||||||
|
|
||||||
mitsubishi_ns = cg.esphome_ns.namespace("mitsubishi")
|
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;
|
const uint16_t MITSUBISHI_MIN_GAP = 17500;
|
||||||
|
|
||||||
void MitsubishiClimate::transmit_state() {
|
void MitsubishiClimate::transmit_state() {
|
||||||
uint32_t remote_state[18] = {0x23, 0xCB, 0x26, 0x01, 0x00, 0x20, 0x48, 0x00, 0x30,
|
uint32_t remote_state[18] = {0x23, 0xCB, 0x26, 0x01, 0x00, 0x20, 0x08, 0x00, 0x30,
|
||||||
0x58, 0x61, 0x00, 0x00, 0x00, 0x10, 0x40, 0x00, 0x00};
|
0x58, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00};
|
||||||
|
|
||||||
switch (this->mode) {
|
switch (this->mode) {
|
||||||
case climate::CLIMATE_MODE_COOL:
|
case climate::CLIMATE_MODE_COOL:
|
||||||
|
Loading…
Reference in New Issue
Block a user