File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed 
homeassistant/components/lcn Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 1818    CONF_SOURCE ,
1919    CONF_UNIT_OF_MEASUREMENT ,
2020    LIGHT_LUX ,
21+     PERCENTAGE ,
2122    UnitOfElectricCurrent ,
2223    UnitOfElectricPotential ,
2324    UnitOfSpeed ,
5051    pypck .lcn_defs .VarUnit .VOLT : SensorDeviceClass .VOLTAGE ,
5152    pypck .lcn_defs .VarUnit .AMPERE : SensorDeviceClass .CURRENT ,
5253    pypck .lcn_defs .VarUnit .PPM : SensorDeviceClass .CO2 ,
54+     pypck .lcn_defs .VarUnit .PERCENT : SensorDeviceClass .HUMIDITY ,
5355}
5456
5557UNIT_OF_MEASUREMENT_MAPPING  =  {
6264    pypck .lcn_defs .VarUnit .VOLT : UnitOfElectricPotential .VOLT ,
6365    pypck .lcn_defs .VarUnit .AMPERE : UnitOfElectricCurrent .AMPERE ,
6466    pypck .lcn_defs .VarUnit .PPM : CONCENTRATION_PARTS_PER_MILLION ,
67+     pypck .lcn_defs .VarUnit .PERCENT : PERCENTAGE ,
6568}
6669
6770
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments