quick fix

This commit is contained in:
2018-04-28 18:18:41 +02:00
parent 499f90c080
commit d394f39322

View File

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