Set autoUpdatePolicy for WriteOnly channels (#17467)

Signed-off-by: Michael Lobstein <michael.lobstein@gmail.com>
Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
mlobstein 2024-09-24 01:57:46 -05:00 committed by Ciprian Pascu
parent a59e1a73d5
commit 7c692592ce
3 changed files with 4 additions and 2 deletions

View File

@ -87,7 +87,7 @@ panasonicbdp.items:
```java
// BD Player
Switch Player_Power "Power" { channel="panasonicbdp:bd-player:mybdplayer:power" }
String Player_Button "Send Command" { channel="panasonicbdp:bd-player:mybdplayer:button", autoupdate="false" }
String Player_Button "Send Command" { channel="panasonicbdp:bd-player:mybdplayer:button" }
Player Player_Control "Control" { channel="panasonicbdp:bd-player:mybdplayer:control" }
String Player_PlayerStatus "Status: [%s]" { channel="panasonicbdp:bd-player:mybdplayer:player-status" }
Number:Time Player_TimeElapsed "Elapsed Time: [%d %unit%]" { channel="panasonicbdp:bd-player:mybdplayer:time-elapsed" }
@ -97,7 +97,7 @@ Number Player_ChapterTotal "Total Chapters: [%d]" { channel="panasonicb
// UHD Player
Switch Player_Power "Power" { channel="panasonicbdp:uhd-player:myuhdplayer:power" }
String Player_Button "Send Command" { channel="panasonicbdp:uhd-player:myuhdplayer:button", autoupdate="false" }
String Player_Button "Send Command" { channel="panasonicbdp:uhd-player:myuhdplayer:button" }
Player Player_Control "Control" { channel="panasonicbdp:uhd-player:myuhdplayer:control" }
String Player_PlayerStatus "Status: [%s]" { channel="panasonicbdp:uhd-player:myuhdplayer:player-status" }
Number:Time Player_TimeElapsed "Elapsed Time: [%d %unit%]" { channel="panasonicbdp:uhd-player:myuhdplayer:time-elapsed" }

View File

@ -99,6 +99,7 @@
<option value="SHREV2">(swipe in CCW circle)</option>
</options>
</state>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type>
<channel-type id="control">

View File

@ -107,6 +107,7 @@
<option value="SKIP_THE_TRAILER">Skip The Trailer</option>
</options>
</state>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type>
<channel-type id="control">