|
@@ -51,31 +51,38 @@ secondary_entities:
|
|
|
- id: 15
|
|
- id: 15
|
|
|
type: boolean
|
|
type: boolean
|
|
|
name: switch
|
|
name: switch
|
|
|
- - id: 16
|
|
|
|
|
- type: integer
|
|
|
|
|
- name: brightness
|
|
|
|
|
- range:
|
|
|
|
|
- min: 25
|
|
|
|
|
- max: 255
|
|
|
|
|
- - id: 17
|
|
|
|
|
- type: integer
|
|
|
|
|
- name: color_temp
|
|
|
|
|
- range:
|
|
|
|
|
- min: 0
|
|
|
|
|
- max: 255
|
|
|
|
|
- - id: 19
|
|
|
|
|
- type: string
|
|
|
|
|
- name: color_mode
|
|
|
|
|
- optional: true
|
|
|
|
|
- mapping:
|
|
|
|
|
- - dps_val: white
|
|
|
|
|
- value: white
|
|
|
|
|
- - dps_val: warm
|
|
|
|
|
- value: warm
|
|
|
|
|
- - dps_val: cold
|
|
|
|
|
- value: cold
|
|
|
|
|
- - dps_val: night
|
|
|
|
|
- value: night
|
|
|
|
|
|
|
+# I comment this features because that are reported by device but does nothing with it.
|
|
|
|
|
+#
|
|
|
|
|
+# {"abilityId":16,"accessMode":"rw","code":"bright_value","description":"","name":"灯光亮度","typeSpec":{"max":100,"min":1,"scale":0,"step":1,"type":"value","typeDefaultValue":1,"unit":""}},
|
|
|
|
|
+# {"abilityId":17,"accessMode":"rw","code":"temp_value","description":"","name":"灯光色温","typeSpec":{"max":100,"min":0,"scale":0,"step":1,"type":"value","typeDefaultValue":0,"unit":""}},
|
|
|
|
|
+# {"abilityId":19,"accessMode":"rw","code":"work_mode","description":"","name":"灯光模式","typeSpec":{"range":["white","warm","cold","night"],"type":"enum","typeDefaultValue":"white"}},
|
|
|
|
|
+#
|
|
|
|
|
+#
|
|
|
|
|
+# - id: 16
|
|
|
|
|
+# type: integer
|
|
|
|
|
+# name: brightness
|
|
|
|
|
+# range:
|
|
|
|
|
+# min: 25
|
|
|
|
|
+# max: 255
|
|
|
|
|
+# - id: 17
|
|
|
|
|
+# type: integer
|
|
|
|
|
+# name: color_temp
|
|
|
|
|
+# range:
|
|
|
|
|
+# min: 0
|
|
|
|
|
+# max: 255
|
|
|
|
|
+# - id: 19
|
|
|
|
|
+# type: string
|
|
|
|
|
+# name: color_mode
|
|
|
|
|
+# optional: true
|
|
|
|
|
+# mapping:
|
|
|
|
|
+# - dps_val: white
|
|
|
|
|
+# value: white
|
|
|
|
|
+# - dps_val: warm
|
|
|
|
|
+# value: warm
|
|
|
|
|
+# - dps_val: cold
|
|
|
|
|
+# value: cold
|
|
|
|
|
+# - dps_val: night
|
|
|
|
|
+# value: night
|
|
|
- entity: select
|
|
- entity: select
|
|
|
name: timer
|
|
name: timer
|
|
|
icon: "mdi:timer"
|
|
icon: "mdi:timer"
|