mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 11:17:21 +00:00
Add icon translations to Escea (#111529)
This commit is contained in:
parent
e2c38c6415
commit
24050b6e0f
@ -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 = (
|
||||
|
@ -3,7 +3,6 @@
|
||||
DOMAIN = "escea"
|
||||
ESCEA_MANUFACTURER = "Escea"
|
||||
ESCEA_FIREPLACE = "Escea Fireplace"
|
||||
ICON = "mdi:fire"
|
||||
|
||||
DATA_DISCOVERY_SERVICE = "escea_discovery"
|
||||
|
||||
|
9
homeassistant/components/escea/icons.json
Normal file
9
homeassistant/components/escea/icons.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"entity": {
|
||||
"climate": {
|
||||
"fireplace": {
|
||||
"default": "mdi:fire"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user