14 void setup()
override;
34template<
typename... Ts>
39 void play(
const Ts &...
x)
override { this->
parent_->set_remote_temperature(this->temperature_.value(
x...)); }
43template<
typename... Ts>
46 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
MitsubishiCN105::WideVaneMode last_non_swing_wide_vane_mode_
void control(const climate::ClimateCall &call) override
void dump_config() override
void set_remote_temperature(float temperature)
MitsubishiCN105::VaneMode last_non_swing_vane_mode_
climate::ClimateSwingModeMask supported_swing_modes_
climate::ClimateTraits traits() override
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...