Add icon translations to Escea (#111529)

This commit is contained in:
Joost Lekkerkerker 2024-02-28 08:50:44 +01:00 committed by GitHub
parent e2c38c6415
commit 24050b6e0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 10 additions and 3 deletions

View File

@ -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 = (

View File

@ -3,7 +3,6 @@
DOMAIN = "escea"
ESCEA_MANUFACTURER = "Escea"
ESCEA_FIREPLACE = "Escea Fireplace"
ICON = "mdi:fire"
DATA_DISCOVERY_SERVICE = "escea_discovery"

View File

@ -0,0 +1,9 @@
{
"entity": {
"climate": {
"fireplace": {
"default": "mdi:fire"
}
}
}
}