float get_setup_priority() const override
void set_template(std::function< optional< float >()> &&f)
This class simplifies creating components that periodically check a state.
void dump_config() override
Implementation of SPI Controller mode.
Base-class for all sensors.
optional< std::function< optional< float >)> > f_