Sfoglia il codice sorgente

fix(smcm_doorbellpro_camera): fix volume scaling

Volume level in HA is floating point in range 0.0 - 1.0
Previous implementation of this config scaled into 0-100
Jason Rumney 1 settimana fa
parent
commit
8e6557497b

+ 1 - 1
custom_components/tuya_local/devices/smcm_doorbellpro_camera.yaml

@@ -185,7 +185,7 @@ entities:
           min: 0
           min: 0
           max: 10
           max: 10
         mapping:
         mapping:
-          - scale: 0.1
+          - scale: 10
   - entity: switch
   - entity: switch
     name: Motion limit area
     name: Motion limit area
     category: config
     category: config