Add icon translations to Hive (#111717)

This commit is contained in:
Joost Lekkerkerker 2024-02-28 16:32:52 +01:00 committed by GitHub
parent afe3d7fb4f
commit 818022073d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 2 deletions

View File

@ -20,7 +20,6 @@ from homeassistant.helpers.entity_platform import AddEntitiesCallback
from . import HiveEntity
from .const import DOMAIN
ICON = "mdi:security"
PARALLEL_UPDATES = 0
SCAN_INTERVAL = timedelta(seconds=15)
HIVETOHA = {
@ -46,7 +45,6 @@ async def async_setup_entry(
class HiveAlarmControlPanelEntity(HiveEntity, AlarmControlPanelEntity):
"""Representation of a Hive alarm."""
_attr_icon = ICON
_attr_supported_features = (
AlarmControlPanelEntityFeature.ARM_NIGHT
| AlarmControlPanelEntityFeature.ARM_AWAY

View File

@ -0,0 +1,7 @@
{
"services": {
"boost_heating_on": "mdi:radiator",
"boost_heating_off": "mdi:radiator-off",
"boost_hot_water": "mdi:water-boiler"
}
}