mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
fix ALLOFF event to source button channels (#14944)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
This commit is contained in:
parent
4584b82a46
commit
ab4dace2e9
@ -692,7 +692,7 @@ public class NuvoHandler extends BaseThingHandler implements NuvoMessageEventLis
|
||||
// Publish the ALLOFF event to all button channels for awareness in source rules
|
||||
updateChannelState(NuvoEnum.SYSTEM, CHANNEL_TYPE_BUTTONPRESS, ZERO + COMMA + ALLOFF);
|
||||
NuvoEnum.VALID_SOURCES.forEach(source -> {
|
||||
updateChannelState(NuvoEnum.valueOf(source), CHANNEL_TYPE_BUTTONPRESS, ALLOFF);
|
||||
updateChannelState(NuvoEnum.valueOf(source), CHANNEL_BUTTON_PRESS, ALLOFF);
|
||||
});
|
||||
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user