quick fix
This commit is contained in:
@ -14,11 +14,11 @@ export class MySwitchSingleItem {
|
|||||||
case 'PRESS_SHORT':
|
case 'PRESS_SHORT':
|
||||||
mqttHandler.send(this.actionTopic, 'SHORT', true)
|
mqttHandler.send(this.actionTopic, 'SHORT', true)
|
||||||
break
|
break
|
||||||
case 'PRESS_LONG':
|
case 'PRESS_LONG_START':
|
||||||
case 'PRESS_CONT':
|
case 'PRESS_LONG_CONT':
|
||||||
mqttHandler.send(this.actionTopic, 'LONG_HOLD', true)
|
mqttHandler.send(this.actionTopic, 'LONG_HOLD', true)
|
||||||
break
|
break
|
||||||
case 'PRESS_LONG_RELEASE':
|
case 'PRESS_LONG_END':
|
||||||
mqttHandler.send(this.actionTopic, 'LONG_END', true)
|
mqttHandler.send(this.actionTopic, 'LONG_END', true)
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
|
Reference in New Issue
Block a user