فهرست منبع

Ovlaim ceiling fan: timer off is off, hour is spelt in full

Based on log, the device is sending "off" rather than "cancel" for timer off
From the QueryThingsDataModel result, we can see it also spells out
hour in full for the other options.

Discussion #1728
Jason Rumney 2 سال پیش
والد
کامیت
2e7adb4090
1فایلهای تغییر یافته به همراه5 افزوده شده و 5 حذف شده
  1. 5 5
      custom_components/tuya_local/devices/ovlaim_ceiling_fan_light.yaml

+ 5 - 5
custom_components/tuya_local/devices/ovlaim_ceiling_fan_light.yaml

@@ -58,13 +58,13 @@ secondary_entities:
         type: string
         name: option
         mapping:
-          - dps_val: cancel
+          - dps_val: "off"
             value: "Off"
-          - dps_val: "1h"
+          - dps_val: "1hour"
             value: "1 hour"
-          - dps_val: "2h"
+          - dps_val: "2hour"
             value: "2 hours"
-          - dps_val: "4h"
+          - dps_val: "4hour"
             value: "4 hours"
-          - dps_val: "8h"
+          - dps_val: "8hour"
             value: "8 hours"