Browse Source

Motion sensor light: use lower case to match special case in light.py

Jason Rumney 3 years ago
parent
commit
4b561bff4b
1 changed files with 3 additions and 3 deletions
  1. 3 3
      custom_components/tuya_local/devices/motion_sensor_light.yaml

+ 3 - 3
custom_components/tuya_local/devices/motion_sensor_light.yaml

@@ -14,11 +14,11 @@ primary_entity:
       name: effect
       name: effect
       mapping:
       mapping:
         - dps_val: mode_off
         - dps_val: mode_off
-          value: "Off"
+          value: "off"
         - dps_val: mode_auto
         - dps_val: mode_auto
-          value: Auto
+          value: auto
         - dps_val: mode_on
         - dps_val: mode_on
-          value: "On"
+          value: "on"
     - id: 102
     - id: 102
       type: boolean
       type: boolean
       name: switch
       name: switch