25 void play(
const Ts &...
x)
override {
void trigger(const Ts &...x) ESPHOME_ALWAYS_INLINE
This class is used to encode all control actions on a climate device.
ClimateDevice - This is the base class for all climate integrations.
void add_on_control_callback(F &&callback)
Add a callback for the climate device configuration; each time the configuration parameters of a clim...
void add_on_state_callback(F &&callback)
Add a callback for the climate device state, each time the state of the climate device is updated (us...
ClimateCall make_call()
Make a climate device control call, this is used to control the climate device, see the ClimateCall d...
void(*)(ClimateCall &, const std::remove_cvref_t< Ts > &...) ApplyFn
ControlAction(Climate *climate, ApplyFn apply)
void play(const Ts &...x) override
ControlTrigger(Climate *climate)
StateTrigger(Climate *climate)
void apply(Climate *climate)
Apply these settings to the climate device.