11template<
typename... Ts>
16 void play(
const Ts &...
x)
override { this->
parent_->set_remote_temperature(this->temperature_.value(
x...)); }
19template<
typename... Ts>
22 void play(
const Ts &...
x)
override { this->
parent_->clear_remote_temperature(); }
31 void play(
const Ts &...
x)
override {
virtual void play(const Ts &...x)=0
Helper class to easily give an object a parent of type T.
MitsubishiCN105Component * parent_
void play(const Ts &...x) override
VaneCall make_vane_call()
TEMPLATABLE_VALUE(float, temperature) void play(const Ts &...x) override
void play(const Ts &...x) override
MitsubishiCN105Component * parent_
void(*)(VaneCall &, const std::remove_cvref_t< Ts > &...) ApplyFn
VaneControlAction(MitsubishiCN105Component *parent, ApplyFn apply)
void apply(Climate *climate)
Apply these settings to the climate device.