mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 06:04:01 +00:00
fix compile
This commit is contained in:
@@ -40,6 +40,10 @@ enum OnBootRestoreFrom : uint8_t {
|
||||
};
|
||||
|
||||
struct ThermostatClimateTimer {
|
||||
ThermostatClimateTimer() = default;
|
||||
ThermostatClimateTimer(bool active, uint32_t time, uint32_t started, std::function<void()> func)
|
||||
: active(active), time(time), started(started), func(std::move(func)) {}
|
||||
|
||||
bool active;
|
||||
uint32_t time;
|
||||
uint32_t started;
|
||||
|
||||
Reference in New Issue
Block a user