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