Fork of the espurna firmware for `mhsw` switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
372 B

  1. /*
  2. THERMOSTAT MODULE
  3. Copyright (C) 2017 by Dmitry Blinov <dblinov76 at gmail dot com>
  4. */
  5. #pragma once
  6. #include <ArduinoJson.h>
  7. #include <float.h>
  8. #if THERMOSTAT_DISPLAY_SUPPORT
  9. #include <SSD1306.h> // alias for `#include "SSD1306Wire.h"`
  10. #endif
  11. using thermostat_callback_f = std::function<void(bool state)>;
  12. void thermostatRegister(thermostat_callback_f callback);