|
@ -192,6 +192,10 @@ void setup() { |
|
|
#if LIGHT_PROVIDER != LIGHT_PROVIDER_NONE
|
|
|
#if LIGHT_PROVIDER != LIGHT_PROVIDER_NONE
|
|
|
lightSetup(); |
|
|
lightSetup(); |
|
|
#endif
|
|
|
#endif
|
|
|
|
|
|
// rpnSetup must be called before relaySetup
|
|
|
|
|
|
#if RPN_RULES_SUPPORT
|
|
|
|
|
|
rpnSetup(); |
|
|
|
|
|
#endif
|
|
|
#if RELAY_SUPPORT
|
|
|
#if RELAY_SUPPORT
|
|
|
relaySetup(); |
|
|
relaySetup(); |
|
|
#endif
|
|
|
#endif
|
|
@ -262,9 +266,6 @@ void setup() { |
|
|
#if SCHEDULER_SUPPORT
|
|
|
#if SCHEDULER_SUPPORT
|
|
|
schSetup(); |
|
|
schSetup(); |
|
|
#endif
|
|
|
#endif
|
|
|
#if RPN_RULES_SUPPORT
|
|
|
|
|
|
rpnSetup(); |
|
|
|
|
|
#endif
|
|
|
|
|
|
#if UART_MQTT_SUPPORT
|
|
|
#if UART_MQTT_SUPPORT
|
|
|
uartmqttSetup(); |
|
|
uartmqttSetup(); |
|
|
#endif
|
|
|
#endif
|
|
|