ESPHome  2024.11.1
ballu.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 namespace esphome {
6 namespace ballu {
7 
8 // Support for Ballu air conditioners with YKR-K/002E remote
9 
10 // Temperature
11 const float YKR_K_002E_TEMP_MIN = 16.0;
12 const float YKR_K_002E_TEMP_MAX = 32.0;
13 
15  public:
17  : climate_ir::ClimateIR(YKR_K_002E_TEMP_MIN, YKR_K_002E_TEMP_MAX, 1.0f, true, true,
22 
23  protected:
25  void transmit_state() override;
27  bool on_receive(remote_base::RemoteReceiveData data) override;
28 };
29 
30 } // namespace ballu
31 } // namespace esphome
The fan mode is set to Low.
Definition: climate_mode.h:54
The fan mode is set to Both.
Definition: climate_mode.h:74
const float YKR_K_002E_TEMP_MAX
Definition: ballu.h:12
bool on_receive(remote_base::RemoteReceiveData data) override
Handle received IR Buffer.
Definition: ballu.cpp:121
void transmit_state() override
Transmit via IR the state of this climate controller.
Definition: ballu.cpp:34
const float YKR_K_002E_TEMP_MIN
Definition: ballu.h:11
The fan mode is set to Horizontal.
Definition: climate_mode.h:78
The fan mode is set to Auto.
Definition: climate_mode.h:52
ClimateIR(float minimum_temperature, float maximum_temperature, float temperature_step=1.0f, bool supports_dry=false, bool supports_fan_only=false, std::set< climate::ClimateFanMode > fan_modes={}, std::set< climate::ClimateSwingMode > swing_modes={}, std::set< climate::ClimatePreset > presets={})
Definition: climate_ir.h:26
The fan mode is set to Vertical.
Definition: climate_mode.h:76
The fan mode is set to High.
Definition: climate_mode.h:58
The swing mode is set to Off.
Definition: climate_mode.h:72
Implementation of SPI Controller mode.
Definition: a01nyub.cpp:7
The fan mode is set to Medium.
Definition: climate_mode.h:56