|
#pragma once
|
|
|
|
// 1.13.3 added TELNET_PASSWORD build-only flag
|
|
// 1.13.4 replaces it with TELNET_AUTHENTICATION runtime setting default
|
|
// TODO warning should be removed eventually
|
|
#ifdef TELNET_PASSWORD
|
|
#warning TELNET_PASSWORD is deprecated! Please replace it with TELNET_AUTHENTICATION
|
|
#define TELNET_AUTHENTICATION TELNET_PASSWORD
|
|
#endif
|
|
|
|
// 1.14.0 combines RF_SUPPORT with RFB_DIRECT
|
|
#ifdef RF_PIN
|
|
#warning RF_PIN is deprecated! Please use RFB_RX_PIN instead
|
|
#define RFB_RX_PIN RF_PIN
|
|
#endif
|
|
|
|
// 1.14.0 allow multiple digitals
|
|
#ifdef DIGITAL_PIN
|
|
#warning DIGITAL_PIN is deprecated! Please use DIGITAL1_PIN instead
|
|
#define DIGITAL1_PIN DIGITAL_PIN
|
|
#endif
|
|
|
|
// 1.14.0 allow multiple events
|
|
#ifdef EVENTS_PIN
|
|
#warning EVENTS_PIN is deprecated! Please use EVENTS1_PIN instead
|
|
#define EVENTS1_PIN EVENTS_PIN
|
|
#endif
|
|
|
|
// 1.14.0 unifies mqtt payload options
|
|
#ifdef HOMEASSISTANT_PAYLOAD_ON
|
|
#warning HOMEASSISTANT_PAYLOAD_ON is deprecated! Global RELAY_MQTT_ON is used instead
|
|
#endif
|
|
|
|
#ifdef HOMEASSISTANT_PAYLOAD_OFF
|
|
#warning HOMEASSISTANT_PAYLOAD_OFF is deprecated! Global RELAY_MQTT_OFF is used instead
|
|
#endif
|
|
|
|
#ifdef HOMEASSISTANT_PAYLOAD_AVAILABLE
|
|
#warning HOMEASSISTANT_PAYLOAD_AVAILABLE is deprecated! Global MQTT_STATUS_ONLINE is used instead
|
|
#endif
|
|
|
|
#ifdef HOMEASSISTANT_PAYLOAD_NOT_AVAILABLE
|
|
#warning HOMEASSISTANT_PAYLOAD_NOT_AVAILABLE is deprecated! Global MQTT_STATUS_OFFLINE is used instead
|
|
#endif
|