Skip to content

Commit 153a691

Browse files
authored
Set autoUpdatePolicy for WriteOnly channels (openhab#17464)
Signed-off-by: Michael Lobstein <[email protected]>
1 parent 13f1497 commit 153a691

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

bundles/org.openhab.binding.epsonprojector/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ Switch epsonVerticalReverse { channel="epsonprojector
145145
Switch epsonHorizontalReverse { channel="epsonprojector:projector-serial:hometheater:horizontalreverse" }
146146

147147
String epsonBackground "Background [%s]" { channel="epsonprojector:projector-serial:hometheater:background" }
148-
String epsonKeyCode "Key Code [%s]" { channel="epsonprojector:projector-serial:hometheater:keycode", autoupdate="false" }
148+
String epsonKeyCode "Key Code [%s]" { channel="epsonprojector:projector-serial:hometheater:keycode" }
149149
String epsonPowerState "Power State [%s]" <switch> { channel="epsonprojector:projector-serial:hometheater:powerstate" }
150150
Number epsonLampTime "Lamp Time [%d h]" <switch> { channel="epsonprojector:projector-serial:hometheater:lamptime" }
151151
Number epsonErrCode "Error Code [%d]" <error> { channel="epsonprojector:projector-serial:hometheater:errcode" }

bundles/org.openhab.binding.epsonprojector/src/main/resources/OH-INF/thing/thing-types.xml

+1
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@
149149
<item-type>String</item-type>
150150
<label>KeyCode</label>
151151
<description>Send a KEY Operation Command to the Projector</description>
152+
<autoUpdatePolicy>veto</autoUpdatePolicy>
152153
</channel-type>
153154
<channel-type id="verticalkeystone" advanced="true">
154155
<item-type>Number</item-type>

0 commit comments

Comments
 (0)