From: mlobstein Date: Tue, 24 Sep 2024 06:59:10 +0000 (-0500) Subject: Set autoUpdatePolicy for WriteOnly channels (#17468) X-Git-Url: https://git.basschouten.com/?a=commitdiff_plain;h=02b29becbae5ef495fd9edfea29b8efce6c2ed2a;p=openhab-addons.git Set autoUpdatePolicy for WriteOnly channels (#17468) Signed-off-by: Michael Lobstein --- diff --git a/bundles/org.openhab.binding.roku/README.md b/bundles/org.openhab.binding.roku/README.md index 9063a6e5e8..60b88812a6 100644 --- a/bundles/org.openhab.binding.roku/README.md +++ b/bundles/org.openhab.binding.roku/README.md @@ -37,7 +37,7 @@ The following channels are available: |--------------------|----------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------| | activeApp | String | A dropdown containing a list of all apps installed on the Roku. The app currently running is automatically selected. The list updates every 10 minutes. | | activeAppName | String | The name of the current app (ReadOnly). | -| button | String | Sends a remote control command the Roku. See list of available commands below. | +| button | String | Sends a remote control command the Roku. See list of available commands below. (WriteOnly) | | control | Player | Control Playback e.g. play/pause/next/previous | | playMode | String | The current playback mode ie: stop, play, pause (ReadOnly). | | timeElapsed | Number:Time | The total number of seconds of playback time elapsed for the current playing title (ReadOnly). | @@ -109,7 +109,7 @@ roku:roku_tv:mytv1 "My Roku TV" [ hostName="192.168.10.1", refresh=10 ] String Player_ActiveApp "Current App: [%s]" { channel="roku:roku_player:myplayer1:activeApp" } String Player_ActiveAppName "Current App Name: [%s]" { channel="roku:roku_player:myplayer1:activeAppName" } -String Player_Button "Send Command to Roku" { channel="roku:roku_player:myplayer1:button", autoupdate="false" } +String Player_Button "Send Command to Roku" { channel="roku:roku_player:myplayer1:button" } Player Player_Control "Control" { channel="roku:roku_player:myplayer1:control" } String Player_PlayMode "Status: [%s]" { channel="roku:roku_player:myplayer1:playMode" } Number:Time Player_TimeElapsed "Elapsed Time: [%d %unit%]" { channel="roku:roku_player:myplayer1:timeElapsed" } @@ -121,7 +121,7 @@ Switch Player_Power "Power: [%s]" { channel="roku:rok String Player_PowerState "Power State: [%s] { channel="roku:roku_tv:mytv1:powerState" } String Player_ActiveApp "Current App: [%s]" { channel="roku:roku_tv:mytv1:activeApp" } String Player_ActiveAppName "Current App Name: [%s]" { channel="roku:roku_tv:mytv1:activeAppName" } -String Player_Button "Send Command to Roku" { channel="roku:roku_tv:mytv1:button", autoupdate="false" } +String Player_Button "Send Command to Roku" { channel="roku:roku_tv:mytv1:button" } Player Player_Control "Control" { channel="roku:roku_tv:mytv1:control" } String Player_PlayMode "Status: [%s]" { channel="roku:roku_tv:mytv1:playMode" } Number:Time Player_TimeElapsed "Elapsed Time: [%d %unit%]" { channel="roku:roku_tv:mytv1:timeElapsed" } diff --git a/bundles/org.openhab.binding.roku/src/main/resources/OH-INF/thing/roku.xml b/bundles/org.openhab.binding.roku/src/main/resources/OH-INF/thing/roku.xml index ffbb68d180..78e995536d 100644 --- a/bundles/org.openhab.binding.roku/src/main/resources/OH-INF/thing/roku.xml +++ b/bundles/org.openhab.binding.roku/src/main/resources/OH-INF/thing/roku.xml @@ -101,6 +101,7 @@ + veto @@ -140,6 +141,7 @@ + veto