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.

44 lines
1.4 KiB

  1. #pragma once
  2. // 1.13.3 added TELNET_PASSWORD build-only flag
  3. // 1.13.4 replaces it with TELNET_AUTHENTICATION runtime setting default
  4. // TODO warning should be removed eventually
  5. #ifdef TELNET_PASSWORD
  6. #warning TELNET_PASSWORD is deprecated! Please replace it with TELNET_AUTHENTICATION
  7. #define TELNET_AUTHENTICATION TELNET_PASSWORD
  8. #endif
  9. // 1.14.0 combines RF_SUPPORT with RFB_DIRECT
  10. #ifdef RF_PIN
  11. #warning RF_PIN is deprecated! Please use RFB_RX_PIN instead
  12. #define RFB_RX_PIN RF_PIN
  13. #endif
  14. // 1.14.0 allow multiple digitals
  15. #ifdef DIGITAL_PIN
  16. #warning DIGITAL_PIN is deprecated! Please use DIGITAL1_PIN instead
  17. #define DIGITAL1_PIN DIGITAL_PIN
  18. #endif
  19. // 1.14.0 allow multiple events
  20. #ifdef EVENTS_PIN
  21. #warning EVENTS_PIN is deprecated! Please use EVENTS1_PIN instead
  22. #define EVENTS1_PIN EVENTS_PIN
  23. #endif
  24. // 1.14.0 unifies mqtt payload options
  25. #ifdef HOMEASSISTANT_PAYLOAD_ON
  26. #warning HOMEASSISTANT_PAYLOAD_ON is deprecated! Global RELAY_MQTT_ON is used instead
  27. #endif
  28. #ifdef HOMEASSISTANT_PAYLOAD_OFF
  29. #warning HOMEASSISTANT_PAYLOAD_OFF is deprecated! Global RELAY_MQTT_OFF is used instead
  30. #endif
  31. #ifdef HOMEASSISTANT_PAYLOAD_AVAILABLE
  32. #warning HOMEASSISTANT_PAYLOAD_AVAILABLE is deprecated! Global MQTT_STATUS_ONLINE is used instead
  33. #endif
  34. #ifdef HOMEASSISTANT_PAYLOAD_NOT_AVAILABLE
  35. #warning HOMEASSISTANT_PAYLOAD_NOT_AVAILABLE is deprecated! Global MQTT_STATUS_OFFLINE is used instead
  36. #endif