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...
ControlTrigger(Climate *climate)
StateTrigger(Climate *climate)