const float DATA
For components that import data from directly connected sensors like DHT.
float get_setup_priority() const override
This class simplifies creating components that periodically check a state.
void trigger(Ts... x)
Inform the parent automation that the event has triggered.