[homeconnect] Let the binding update item state when handling a command (#10749)

To avoid the core framework updating automatically an item state while a
command is sent to this item but its handling by the binding is failing
or ignored

Fix #10700

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo 2021-05-23 19:48:15 +02:00 committed by GitHub
parent c68d920387
commit 4b5d64340f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -366,6 +366,7 @@
<item-type>String</item-type> <item-type>String</item-type>
<label>Selected Program</label> <label>Selected Program</label>
<description>This state describes the selected program of the home appliance.</description> <description>This state describes the selected program of the home appliance.</description>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type> </channel-type>
<channel-type id="remaining_program_time_state"> <channel-type id="remaining_program_time_state">
<item-type>Number:Time</item-type> <item-type>Number:Time</item-type>
@ -425,6 +426,7 @@
<option value="LaundryCare.Washer.EnumType.Temperature.UlExtraHot">Extra hot (US/CA)</option> <option value="LaundryCare.Washer.EnumType.Temperature.UlExtraHot">Extra hot (US/CA)</option>
</options> </options>
</state> </state>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type> </channel-type>
<channel-type id="laundry_care_washer_spin_speed"> <channel-type id="laundry_care_washer_spin_speed">
<item-type>String</item-type> <item-type>String</item-type>
@ -447,6 +449,7 @@
<option value="LaundryCare.Washer.EnumType.SpinSpeed.UlHigh">High (US/CA)</option> <option value="LaundryCare.Washer.EnumType.SpinSpeed.UlHigh">High (US/CA)</option>
</options> </options>
</state> </state>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type> </channel-type>
<channel-type id="laundry_care_washer_idos1"> <channel-type id="laundry_care_washer_idos1">
<item-type>String</item-type> <item-type>String</item-type>
@ -461,6 +464,7 @@
<option value="LaundryCare.Washer.EnumType.IDosingLevel.Strong">Strong</option> <option value="LaundryCare.Washer.EnumType.IDosingLevel.Strong">Strong</option>
</options> </options>
</state> </state>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type> </channel-type>
<channel-type id="laundry_care_washer_idos2"> <channel-type id="laundry_care_washer_idos2">
<item-type>String</item-type> <item-type>String</item-type>
@ -475,6 +479,7 @@
<option value="LaundryCare.Washer.EnumType.IDosingLevel.Strong">Strong</option> <option value="LaundryCare.Washer.EnumType.IDosingLevel.Strong">Strong</option>
</options> </options>
</state> </state>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type> </channel-type>
<channel-type id="setpoint_temperature_refrigerator"> <channel-type id="setpoint_temperature_refrigerator">
<item-type>Number:Temperature</item-type> <item-type>Number:Temperature</item-type>
@ -508,6 +513,7 @@
<label>Drying Target</label> <label>Drying Target</label>
<description>Specifies the desired dryness setting.</description> <description>Specifies the desired dryness setting.</description>
<state readOnly="false"/> <state readOnly="false"/>
<autoUpdatePolicy>veto</autoUpdatePolicy>
</channel-type> </channel-type>
<channel-type id="hood_venting_level"> <channel-type id="hood_venting_level">
<item-type>String</item-type> <item-type>String</item-type>