Feature fork
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
Jens Christian True 2019-07-15 15:19:15 +02:00
parent 795043a639
commit e322b5ddcd

@ -20,6 +20,9 @@ bool powerOnHandler(const HomieRange& range, const String& value) {
return true; return true;
} }
bool powerTimerHandler(const HomieRange& range, const String& value);
void setupHandler() { void setupHandler() {
pinMode(PIN_RELAY, OUTPUT); pinMode(PIN_RELAY, OUTPUT);
digitalWrite(PIN_RELAY, HIGH); digitalWrite(PIN_RELAY, HIGH);
@ -65,7 +68,6 @@ void onHomieEvent(const HomieEvent& event) {
break; break;
case HomieEventType::WIFI_DISCONNECTED: case HomieEventType::WIFI_DISCONNECTED:
// Do whatever you want when Wi-Fi is disconnected in normal mode // Do whatever you want when Wi-Fi is disconnected in normal mode
// You can use event.wifiReason // You can use event.wifiReason
break; break;
case HomieEventType::MQTT_READY: case HomieEventType::MQTT_READY: