Преглед изворни кода

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 недеља
родитељ
комит
8e6557497b
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      custom_components/tuya_local/devices/smcm_doorbellpro_camera.yaml

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

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