quick fix
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user