diff --git a/code/espurna/domoticz.ino b/code/espurna/domoticz.ino index 423c90ee..33fea908 100644 --- a/code/espurna/domoticz.ino +++ b/code/espurna/domoticz.ino @@ -17,7 +17,7 @@ std::vector _dcz_relay_state; // Private methods //------------------------------------------------------------------------------ -unsigned char _domoticzRelay(unsigned int idx) { +int _domoticzRelay(unsigned int idx) { for (unsigned char relayID=0; relayID= 0) { unsigned char value = root["nvalue"]; DEBUG_MSG_P(PSTR("[DOMOTICZ] Received value %u for IDX %u\n"), value, idx);