diff --git a/homeassistant/components/lcn/const.py b/homeassistant/components/lcn/const.py index ef0ad6481f4..bb97658b880 100644 --- a/homeassistant/components/lcn/const.py +++ b/homeassistant/components/lcn/const.py @@ -1,15 +1,7 @@ """Constants for the LCN component.""" from itertools import product -from homeassistant.const import ( - DEGREE, - ELECTRIC_POTENTIAL_VOLT, - PERCENTAGE, - TEMP_CELSIUS, - TEMP_FAHRENHEIT, - TEMP_KELVIN, - Platform, -) +from homeassistant.const import Platform PLATFORMS = [ Platform.BINARY_SENSOR, @@ -166,9 +158,9 @@ VAR_UNITS = [ "", "LCN", "NATIVE", - TEMP_CELSIUS, - TEMP_KELVIN, - TEMP_FAHRENHEIT, + "°C", + "K", + "°F", "LUX_T", "LX_T", "LUX_I", @@ -176,16 +168,16 @@ VAR_UNITS = [ "LX", "M/S", "METERPERSECOND", - PERCENTAGE, + "%", "PERCENT", "PPM", "VOLT", - ELECTRIC_POTENTIAL_VOLT, + "V", "AMPERE", "AMP", "A", "DEGREE", - DEGREE, + "°", ] RELVARREF = ["CURRENT", "PROG"]