Enhance debug output on valid button event
It is beneficial to also output cluster, endpoint, command and payload to better spot potential errors in the button maps.
@@ -4624,7 +4624,7 @@ void DeRestPluginPrivate::checkSensorButtonEvent(Sensor *sensor, const deCONZ::A
if (ok && buttonMap.button != 0)
{
if (!buttonMap.name.isEmpty()) { cmd = buttonMap.name; }
- DBG_Printf(DBG_INFO, "[INFO] - Button %u %s %s\n", buttonMap.button, qPrintable(cmd), qPrintable(sensor->modelId()));
+ DBG_Printf(DBG_INFO, "[INFO] - Button %u - %s endpoint: 0x%02X cluster: %s command: %s payload[0]: 0%02X\n", buttonMap.button, sensor->modelId()), ind.srcEndpoint(), qPrintable(cluster), qPrintable(cmd), pl0);
ResourceItem *item = sensor->item(RStateButtonEvent);
if (item)
{
