소스 검색

Fixed shutoff timer entities

LunarEclipse 7 달 전
부모
커밋
de3f782c4e
1개의 변경된 파일27개의 추가작업 그리고 0개의 파일을 삭제
  1. 27 0
      custom_components/tuya_local/devices/fral_supercool_airconditioner_fsc08.yaml

+ 27 - 0
custom_components/tuya_local/devices/fral_supercool_airconditioner_fsc08.yaml

@@ -87,6 +87,7 @@ entities:
           - dps_val: false
             value: "off"
   - entity: select
+    name: shutoff_timer
     translation_key: timer
     category: config
     dps:
@@ -95,31 +96,57 @@ entities:
         name: option
         mapping:
           - dps_val: cancel
+            value: cancel
           - dps_val: "1h"
+            value: "1h"
           - dps_val: "2h"
+            value: "2h"
           - dps_val: "3h"
+            value: "3h"
           - dps_val: "4h"
+            value: "4h"
           - dps_val: "5h"
+            value: "5h"
           - dps_val: "6h"
+            value: "6h"
           - dps_val: "7h"
+            value: "7h"
           - dps_val: "8h"
+            value: "8h"
           - dps_val: "9h"
+            value: "9h"
           - dps_val: "10h"
+            value: "10h"
           - dps_val: "11h"
+            value: "11h"
           - dps_val: "12h"
+            value: "12h"
           - dps_val: "13h"
+            value: "13h"
           - dps_val: "14h"
+            value: "14h"
           - dps_val: "15h"
+            value: "15h"
           - dps_val: "16h"
+            value: "16h"
           - dps_val: "17h"
+            value: "17h"
           - dps_val: "18h"
+            value: "18h"
           - dps_val: "19h"
+            value: "19h"
           - dps_val: "20h"
+            value: "20h"
           - dps_val: "21h"
+            value: "21h"
           - dps_val: "22h"
+            value: "22h"
           - dps_val: "23h"
+            value: "23h"
           - dps_val: "24h"
+            value: "24h"
   - entity: sensor
+    name: shutoff_timer_remaining
     translation_key: time_remaining
     category: config
     dps: