ESPHome 2025.5.0
Loading...
Searching...
No Matches
fan_state.cpp
Go to the documentation of this file.
1#include "fan_state.h"
2
3namespace esphome {
4namespace fan {
5
6static const char *const TAG = "fan";
7
8void FanState::setup() {
9 auto restore = this->restore_state_();
10 if (restore)
11 restore->to_call(*this).perform();
12}
13float FanState::get_setup_priority() const { return setup_priority::DATA - 1.0f; }
14
15} // namespace fan
16} // namespace esphome
const float DATA
For components that import data from directly connected sensors like DHT.
Definition component.cpp:19
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7