@@ -108,7 +108,7 @@ const BINARY_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
108
108
window_open : { device_class : 'window' } ,
109
109
} as const ;
110
110
const NUMERIC_DISCOVERY_LOOKUP : { [ s : string ] : KeyValue } = {
111
- ac_frequency : { device_class : 'frequency' , enabled_by_default : false , entity_category : 'diagnostic' , state_class : 'measurement' } ,
111
+ ac_frequency : { device_class : 'frequency' , state_class : 'measurement' } ,
112
112
action_duration : { icon : 'mdi:timer' , device_class : 'duration' } ,
113
113
alarm_humidity_max : { device_class : 'humidity' , entity_category : 'config' , icon : 'mdi:water-plus' } ,
114
114
alarm_humidity_min : { device_class : 'humidity' , entity_category : 'config' , icon : 'mdi:water-minus' } ,
@@ -140,24 +140,9 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
140
140
state_class : 'measurement' ,
141
141
} ,
142
142
cube_side : { icon : 'mdi:cube' } ,
143
- current : {
144
- device_class : 'current' ,
145
- enabled_by_default : false ,
146
- entity_category : 'diagnostic' ,
147
- state_class : 'measurement' ,
148
- } ,
149
- current_phase_b : {
150
- device_class : 'current' ,
151
- enabled_by_default : false ,
152
- entity_category : 'diagnostic' ,
153
- state_class : 'measurement' ,
154
- } ,
155
- current_phase_c : {
156
- device_class : 'current' ,
157
- enabled_by_default : false ,
158
- entity_category : 'diagnostic' ,
159
- state_class : 'measurement' ,
160
- } ,
143
+ current : { device_class : 'current' , state_class : 'measurement' } ,
144
+ current_phase_b : { device_class : 'current' , state_class : 'measurement' } ,
145
+ current_phase_c : { device_class : 'current' , state_class : 'measurement' } ,
161
146
deadzone_temperature : { entity_category : 'config' , icon : 'mdi:thermometer' } ,
162
147
detection_interval : { icon : 'mdi:timer' } ,
163
148
device_temperature : {
@@ -244,24 +229,9 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
244
229
voc_index : { state_class : 'measurement' , icon : 'mdi:molecule' } ,
245
230
voc_parts : { device_class : 'volatile_organic_compounds_parts' , state_class : 'measurement' } ,
246
231
vibration_timeout : { entity_category : 'config' , icon : 'mdi:timer' } ,
247
- voltage : {
248
- device_class : 'voltage' ,
249
- enabled_by_default : false ,
250
- entity_category : 'diagnostic' ,
251
- state_class : 'measurement' ,
252
- } ,
253
- voltage_phase_b : {
254
- device_class : 'voltage' ,
255
- enabled_by_default : false ,
256
- entity_category : 'diagnostic' ,
257
- state_class : 'measurement' ,
258
- } ,
259
- voltage_phase_c : {
260
- device_class : 'voltage' ,
261
- enabled_by_default : false ,
262
- entity_category : 'diagnostic' ,
263
- state_class : 'measurement' ,
264
- } ,
232
+ voltage : { device_class : 'voltage' , state_class : 'measurement' } ,
233
+ voltage_phase_b : { device_class : 'voltage' , state_class : 'measurement' } ,
234
+ voltage_phase_c : { device_class : 'voltage' , state_class : 'measurement' } ,
265
235
water_consumed : {
266
236
device_class : 'water' ,
267
237
state_class : 'total_increasing' ,
0 commit comments