Browse Source

WOUEJ EV chrger: make charger temperature optional

Issue #2133
Jason Rumney 1 year ago
parent
commit
a345b6240c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      custom_components/tuya_local/devices/wouej_evcharger.yaml

+ 2 - 0
custom_components/tuya_local/devices/wouej_evcharger.yaml

@@ -122,11 +122,13 @@ secondary_entities:
     dps:
     dps:
       - id: 105
       - id: 105
         type: integer
         type: integer
+        optional: true
         name: sensor
         name: sensor
         unit: C
         unit: C
         class: measurement
         class: measurement
         mapping:
         mapping:
           - scale: 10
           - scale: 10
+          - dps_val: null
   - entity: select
   - entity: select
     translation_key: temperature_unit
     translation_key: temperature_unit
     category: config
     category: config