This commit is contained in:
Wolfgang Hottgenroth
2018-05-16 10:26:36 +02:00
parent d394f39322
commit 50b0b85f4f

View File

@ -12,11 +12,11 @@ class MySwitchSingleItem {
case 'PRESS_SHORT':
MqttDispatcher_1.mqttHandler.send(this.actionTopic, 'SHORT', true);
break;
case 'PRESS_LONG':
case 'PRESS_CONT':
case 'PRESS_LONG_START':
case 'PRESS_LONG_CONT':
MqttDispatcher_1.mqttHandler.send(this.actionTopic, 'LONG_HOLD', true);
break;
case 'PRESS_LONG_RELEASE':
case 'PRESS_LONG_END':
MqttDispatcher_1.mqttHandler.send(this.actionTopic, 'LONG_END', true);
break;
default: