diff --git a/homeassistant/components/escea/climate.py b/homeassistant/components/escea/climate.py index 021cfd26764..b204ae196e8 100644 --- a/homeassistant/components/escea/climate.py +++ b/homeassistant/components/escea/climate.py @@ -31,7 +31,6 @@ from .const import ( DOMAIN, ESCEA_FIREPLACE, ESCEA_MANUFACTURER, - ICON, ) _LOGGER = logging.getLogger(__name__) @@ -78,7 +77,7 @@ class ControllerEntity(ClimateEntity): _attr_has_entity_name = True _attr_name = None _attr_hvac_modes = [HVACMode.HEAT, HVACMode.OFF] - _attr_icon = ICON + _attr_translation_key = "fireplace" _attr_precision = PRECISION_WHOLE _attr_should_poll = False _attr_supported_features = ( diff --git a/homeassistant/components/escea/const.py b/homeassistant/components/escea/const.py index c35e77e2719..363dd166eba 100644 --- a/homeassistant/components/escea/const.py +++ b/homeassistant/components/escea/const.py @@ -3,7 +3,6 @@ DOMAIN = "escea" ESCEA_MANUFACTURER = "Escea" ESCEA_FIREPLACE = "Escea Fireplace" -ICON = "mdi:fire" DATA_DISCOVERY_SERVICE = "escea_discovery" diff --git a/homeassistant/components/escea/icons.json b/homeassistant/components/escea/icons.json new file mode 100644 index 00000000000..a9ac95f216c --- /dev/null +++ b/homeassistant/components/escea/icons.json @@ -0,0 +1,9 @@ +{ + "entity": { + "climate": { + "fireplace": { + "default": "mdi:fire" + } + } + } +}