void trigger(Ts... x)
Inform the parent automation that the event has triggered.
Base class for all output components that can output a variable level, like PWM.
Trigger< bool > * get_trigger() const
void write_state(bool state) override
Trigger< bool > * trigger_
Trigger< float > * get_trigger() const
Trigger< float > * trigger_
void write_state(float state) override
Providing packet encoding functions for exchanging data with a remote host.