]> git.basschouten.com Git - openhab-addons.git/commitdiff
Set autoUpdatePolicy for WriteOnly channels (#17466)
authormlobstein <michael.lobstein@gmail.com>
Tue, 24 Sep 2024 06:58:10 +0000 (01:58 -0500)
committerGitHub <noreply@github.com>
Tue, 24 Sep 2024 06:58:10 +0000 (08:58 +0200)
Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
bundles/org.openhab.binding.oppo/README.md
bundles/org.openhab.binding.oppo/src/main/resources/OH-INF/thing/channels.xml

index cb5096d0eb1d073292e23d70ab40304369a3e205..ddbe61c90f74d1a47ce1e723809cdf477679eacf 100644 (file)
@@ -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:
index 3c2da25f41fdfd5913890605a3def20d275e3918..23e4e6b02b5abecf394200cd0a9d1561e1ad338f 100644 (file)
                                <option value="GPA">Gapless Play</option>
                        </options>
                </state>
+               <autoUpdatePolicy>veto</autoUpdatePolicy>
        </channel-type>
 </thing:thing-descriptions>