15 public Parented<MitsubishiCN105Component> {
17 void setup()
override;
35template<
typename... Ts>
40 void play(
const Ts &...
x)
override { this->
parent_->set_remote_temperature(this->temperature_.value(
x...)); }
44template<
typename... Ts>
47 void play(
const Ts &...
x)
override { this->
parent_->clear_remote_temperature(); }
virtual void play(const Ts &...x)=0
Helper class to easily give an object a parent of type T.
MitsubishiCN105Component * parent_
This class is used to encode all control actions on a climate device.
ClimateDevice - This is the base class for all climate integrations.
ClimateMode mode
The active mode of the climate device.
void play(const Ts &...x) override
TEMPLATABLE_VALUE(float, temperature) void play(const Ts &...x) override
void control(const climate::ClimateCall &call) override
void dump_config() override
void set_remote_temperature(float temperature)
climate::ClimateTraits traits() override
SwingModeManager swing_mode_manager_
void set_supported_swing_mode(climate::ClimateSwingMode mode)
void clear_remote_temperature()
ClimateSwingMode
Enum for all modes a climate swing can be in NOTE: If adding values, update ClimateSwingModeMask in c...