Set autoUpdatePolicy for WriteOnly channels (#17463)

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-23 17:10:28 -05:00 committed by Ciprian Pascu
parent 000d5329f7
commit 8fce884418
2 changed files with 2 additions and 1 deletions

View File

@ -88,7 +88,7 @@ String benqPictureMode "Picture Mode [%s]" { channel="benqprojector:p
String benqAspectRatio "Aspect Ratio [%s]" { channel="benqprojector:projector-serial:hometheater:aspectratio" }
Switch benqFreeze { channel="benqprojector:projector-serial:hometheater:freeze" }
Switch benqBlank { channel="benqprojector:projector-serial:hometheater:blank" }
String benqDirect { channel="benqprojector:projector-serial:hometheater:directcmd", autoupdate="false" }
String benqDirect { channel="benqprojector:projector-serial:hometheater:directcmd" }
Number benqLampTime "Lamp Time [%d h]" <switch> { channel="benqprojector:projector-serial:hometheater:lamptime" }
```

View File

@ -165,6 +165,7 @@
<option value="enter">Enter</option>
</options>
</state>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type>
<channel-type id="lamptime">
<item-type>Number</item-type>