diff --git a/code/espurna/domoticz.cpp b/code/espurna/domoticz.cpp index b6a179eb..69dc2d2a 100644 --- a/code/espurna/domoticz.cpp +++ b/code/espurna/domoticz.cpp @@ -25,7 +25,7 @@ std::bitset _dcz_relay_state; // Private methods //------------------------------------------------------------------------------ -unsigned char _domoticzIdx(unsigned char relayID, unsigned char defaultValue = 0) { +unsigned int _domoticzIdx(unsigned char relayID, unsigned int defaultValue = 0) { return getSetting({"dczRelayIdx", relayID}, defaultValue); }