Skip to content

Commit

Permalink
Set autoUpdatePolicy for WriteOnly channels (#17469)
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Lobstein <[email protected]>
  • Loading branch information
mlobstein authored Sep 24, 2024
1 parent 02b29be commit efeee46
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions bundles/org.openhab.binding.tivo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ tivo:sckt:Living_Room "Living Room TiVo" [ host="192.168.0.19" ]
```java
/* TIVO */
String TiVo_Status "Status" {channel="tivo:sckt:Living_Room:dvrStatus"}
String TiVo_MenuScreen "Menu Screen" {channel="tivo:sckt:Living_Room:menuTeleport", autoupdate="false"}
String TiVo_MenuScreen "Menu Screen" {channel="tivo:sckt:Living_Room:menuTeleport"}
Number TiVo_SetChannel "Current Channel" {channel="tivo:sckt:Living_Room:channelSet"}
Number TiVo_SetChannelName "Channel Name [MAP(tivo.map):%s]" {channel="tivo:sckt:Living_Room:channelSet"}
Number TiVo_ForceChannel "Force Channel" {channel="tivo:sckt:Living_Room:channelForce"}
Number TiVo_Recording "Recording [MAP(tivo.map):rec-%s]" {channel="tivo:sckt:Living_Room:isRecording"}
String TiVo_IRCmd "Ir Cmd" {channel="tivo:sckt:Living_Room:irCommand", autoupdate="false"}
String TiVo_KbdCmd "Keyboard Cmd" {channel="tivo:sckt:Living_Room:kbdCommand", autoupdate="false"}
String TiVo_IRCmd "Ir Cmd" {channel="tivo:sckt:Living_Room:irCommand"}
String TiVo_KbdCmd "Keyboard Cmd" {channel="tivo:sckt:Living_Room:kbdCommand"}
String TiVo_KeyboardStr "Search String"
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
<label>Change Menu Screen</label>
<description>Change(TELEPORT) to one of the following TiVo menu screens: TIVO (Home), LIVE TV, GUIDE, NOW PLAYING (My
Shows), SEARCH, NETFLIX. Type: String</description>
<state readOnly="false">
<state>
<options>
<option value="TIVO">TIVO</option>
<option value="LIVETV">LIVETV</option>
Expand All @@ -116,13 +116,14 @@
<option value="NETFLIX">NETFLIX</option>
</options>
</state>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type>
<channel-type id="irCommand">
<item-type>String</item-type>
<label>Remote Control Button</label>
<description>Send a simulated button push (IRCODE) from the remote control to the TiVo. See README.md for supported
codes. Type: String</description>
<state readOnly="false">
<state>
<options>
<option value="UP">UP</option>
<option value="DOWN">DOWN</option>
Expand Down Expand Up @@ -181,13 +182,14 @@
<option value="VIDEO_MODE_NATIVE">VIDEO_MODE_NATIVE</option>
</options>
</state>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type>
<channel-type id="kbdCommand">
<item-type>String</item-type>
<label>Keyboard Command</label>
<description>Sends a code (KEYBOARD) corresponding to a keyboard key press to the TiVo e.g. A-Z. See Appendix A in
document TCP Remote Protocol 1.1 for supported characters and special character codes. Type: String</description>
<state readOnly="false"/>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type>
<channel-type id="dvrStatus">
<item-type>String</item-type>
Expand Down

0 comments on commit efeee46

Please sign in to comment.