mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
Set autoUpdatePolicy for WriteOnly channels (#17466)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
parent
7c692592ce
commit
d0ec8b5887
@ -114,7 +114,7 @@ The following channels are available:
|
||||
| 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) |
|
||||
| hdmi_mode | String | Sets the current HDMI output mode (options vary by model; see notes above for allowed values) |
|
||||
| hdr_mode | String | Sets current HDR output mode (Auto, On, Off) [UDP-203/205 only] |
|
||||
| remote_button | String | Simulate pressing a button on the remote control (3 letter code; codes can be found in Appendix A below) |
|
||||
| remote_button | String | Simulate pressing a button on the remote control [3 letter code; codes can be found in Appendix A below] (WriteOnly) |
|
||||
|
||||
## Full Example
|
||||
|
||||
@ -160,7 +160,7 @@ Number oppo_osd_position "OSD Position [%s]" { channel="oppo:player:myoppo:osd_p
|
||||
Number oppo_sub_shift "Subtitle Shift [%s]" { channel="oppo:player:myoppo:sub_shift" }
|
||||
String oppo_hdmi_mode "HDMI Mode [%s]" { channel="oppo:player:myoppo:hdmi_mode" }
|
||||
String oppo_hdr_mode "HDR Mode [%s]" { channel="oppo:player:myoppo:hdr_mode" }
|
||||
String oppo_remote_button "Remote Button [%s]" { channel="oppo:player:myoppo:remote_button", autoupdate="false" }
|
||||
String oppo_remote_button "Remote Button [%s]" { channel="oppo:player:myoppo:remote_button" }
|
||||
```
|
||||
|
||||
secondsformat.js:
|
||||
|
@ -341,5 +341,6 @@
|
||||
<option value="GPA">Gapless Play</option>
|
||||
</options>
|
||||
</state>
|
||||
<autoUpdatePolicy>veto</autoUpdatePolicy>
|
||||
</channel-type>
|
||||
</thing:thing-descriptions>
|
||||
|
Loading…
Reference in New Issue
Block a user