Просмотр исходного кода

Abstract out time_left into its own sensor entity

Liau Jian Jie 8 месяцев назад
Родитель
Сommit
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"
           - dps_val: "6h"
             value: "6h"
+  - entity: sensor
+    translation_key: time_remaining
+    class: duration
       - id: 110
         type: integer
         name: time_left