-
Notifications
You must be signed in to change notification settings - Fork 1
/
newone_dimmer_smartplug.yaml
93 lines (93 loc) · 1.87 KB
/
newone_dimmer_smartplug.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
name: New One Dimmer Smartplug
products:
- id: zbisbtukzuiifmp6
model: WF39M
name: New One Light Dimmer
primary_entity:
entity: light
name: Dimmer
dps:
- id: 1
type: boolean
name: switch
- id: 2
name: brightness
type: integer
range:
min: 10
max: 1000
mapping:
- scale: 3.92
secondary_entities:
- entity: number
name: Min brightness
category: config
icon: "mdi:lightbulb-on-50"
dps:
- id: 3
type: integer
name: value
range:
min: 10
max: 1000
unit: "%"
mapping:
- scale: 10
- entity: number
name: Max brightness
category: config
icon: "mdi:lightbulb-on"
dps:
- id: 5
type: integer
name: value
range:
min: 10
max: 1000
unit: "%"
mapping:
- scale: 10
- entity: select
name: Light Type
category: config
dps:
- id: 4
type: string
name: option
mapping:
- dps_val: led
value: LED
- dps_val: incandescent
value: Incandescent
- dps_val: halogen
value: Halogen
- entity: select
name: Restore Power State
icon: "mdi:toggle-switch"
category: config
dps:
- id: 14
name: option
type: string
mapping:
- dps_val: memory
value: Last State
- dps_val: "on"
value: "On"
- dps_val: "off"
value: "Off"
- entity: select
name: Indicator
icon: "mdi:led-on"
category: config
dps:
- id: 21
type: string
name: option
mapping:
- dps_val: none
value: "Off"
- dps_val: relay
value: On/Off Status
- dps_val: pos
value: Switch Position