File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -236,9 +236,12 @@ const NUMERIC_DISCOVERY_LOOKUP: {[s: string]: KeyValue} = {
236236 device_class : "water" ,
237237 state_class : "total_increasing" ,
238238 } ,
239- x_axis : { icon : "mdi:axis-x-arrow" } ,
240- y_axis : { icon : "mdi:axis-y-arrow" } ,
241- z_axis : { icon : "mdi:axis-z-arrow" } ,
239+ x : { icon : "mdi:axis-x-arrow" , state_class : "measurement" } ,
240+ x_axis : { icon : "mdi:axis-x-arrow" , state_class : "measurement" } ,
241+ y : { icon : "mdi:axis-y-arrow" , state_class : "measurement" } ,
242+ y_axis : { icon : "mdi:axis-y-arrow" , state_class : "measurement" } ,
243+ z : { icon : "mdi:axis-z-arrow" , state_class : "measurement" } ,
244+ z_axis : { icon : "mdi:axis-z-arrow" , state_class : "measurement" } ,
242245} as const ;
243246const ENUM_DISCOVERY_LOOKUP : { [ s : string ] : KeyValue } = {
244247 action : { icon : "mdi:gesture-double-tap" } ,
You can’t perform that action at this time.
0 commit comments