Skip to content

Commit fce0caf

Browse files
authored
Set autoUpdatePolicy for WriteOnly channels (openhab#17466)
Signed-off-by: Michael Lobstein <[email protected]>
1 parent 81cb3c5 commit fce0caf

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ The following channels are available:
114114
| sub_shift | Number | Sets the subtitle shift (-10 to 10) [10x models and up] (note more than 5 from 0 throws an error on the BDP103) |
115115
| hdmi_mode | String | Sets the current HDMI output mode (options vary by model; see notes above for allowed values) |
116116
| hdr_mode | String | Sets current HDR output mode (Auto, On, Off) [UDP-203/205 only] |
117-
| remote_button | String | Simulate pressing a button on the remote control (3 letter code; codes can be found in Appendix A below) |
117+
| remote_button | String | Simulate pressing a button on the remote control [3 letter code; codes can be found in Appendix A below] (WriteOnly) |
118118
119119
## Full Example
120120
@@ -160,7 +160,7 @@ Number oppo_osd_position "OSD Position [%s]" { channel="oppo:player:myoppo:osd_p
160160
Number oppo_sub_shift "Subtitle Shift [%s]" { channel="oppo:player:myoppo:sub_shift" }
161161
String oppo_hdmi_mode "HDMI Mode [%s]" { channel="oppo:player:myoppo:hdmi_mode" }
162162
String oppo_hdr_mode "HDR Mode [%s]" { channel="oppo:player:myoppo:hdr_mode" }
163-
String oppo_remote_button "Remote Button [%s]" { channel="oppo:player:myoppo:remote_button", autoupdate="false" }
163+
String oppo_remote_button "Remote Button [%s]" { channel="oppo:player:myoppo:remote_button" }
164164
```
165165

166166
secondsformat.js:

bundles/org.openhab.binding.oppo/src/main/resources/OH-INF/thing/channels.xml

+1
Original file line numberDiff line numberDiff line change
@@ -341,5 +341,6 @@
341341
<option value="GPA">Gapless Play</option>
342342
</options>
343343
</state>
344+
<autoUpdatePolicy>veto</autoUpdatePolicy>
344345
</channel-type>
345346
</thing:thing-descriptions>

0 commit comments

Comments
 (0)