diff --git a/tasmota/tasmota_xdrv_driver/xdrv_07_domoticz.ino b/tasmota/tasmota_xdrv_driver/xdrv_07_domoticz.ino index 1f6ec6771..8f6fd8b15 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_07_domoticz.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_07_domoticz.ino @@ -401,7 +401,7 @@ void DomoticzSendSwitch(uint32_t type, uint32_t index, uint32_t state) { MqttPublish(domoticz_in_topic); } -bool DomoticzSendKey(uint8_t key, uint8_t device, uint8_t state, uint8_t svalflg) { +bool DomoticzSendKey(uint32_t key, uint32_t device, uint32_t state, uint32_t svalflg) { bool result = false; if (device <= MAX_DOMOTICZ_IDX) {