Skip to content

Commit

Permalink
Water valve: don't set error if no value is return
Browse files Browse the repository at this point in the history
Add additional mapping if value is returned to consider there is no
error.
  • Loading branch information
fcrozat authored and make-all committed Jul 2, 2023
1 parent 3598206 commit 4a29f49
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions custom_components/tuya_local/devices/ble_water_valve.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ secondary_entities:
mapping:
- dps_val: 0
value: false
- dps_val: null
value: false
- value: true
- entity: sensor
name: Operation
Expand Down

0 comments on commit 4a29f49

Please sign in to comment.