Ver código fonte

Abstract out time_left into its own sensor entity

Liau Jian Jie 9 meses atrás
pai
commit
27c0f43c80

+ 3 - 0
custom_components/tuya_local/devices/point_one_storm_vspec_iv_dual_axis_corner_fan.yaml

@@ -82,6 +82,9 @@ entities:
             value: "5h"
             value: "5h"
           - dps_val: "6h"
           - dps_val: "6h"
             value: "6h"
             value: "6h"
+  - entity: sensor
+    translation_key: time_remaining
+    class: duration
       - id: 110
       - id: 110
         type: integer
         type: integer
         name: time_left
         name: time_left