Add icon translations to Homekit Controller (#111720)

* Add icon translations to Homekit Controller

* Add icon translations to Homekit Controller
This commit is contained in:
Joost Lekkerkerker 2024-02-28 16:31:09 +01:00 committed by GitHub
parent b6d56d38ba
commit 15cd9c011e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 134 additions and 124 deletions

View file

@ -358,7 +358,7 @@ SIMPLE_SENSOR: dict[str, HomeKitSensorEntityDescription] = {
CharacteristicsTypes.VENDOR_EVE_THERMO_VALVE_POSITION: HomeKitSensorEntityDescription(
key=CharacteristicsTypes.VENDOR_EVE_THERMO_VALVE_POSITION,
name="Valve position",
icon="mdi:pipe-valve",
translation_key="valve_position",
entity_category=EntityCategory.DIAGNOSTIC,
state_class=SensorStateClass.MEASUREMENT,
native_unit_of_measurement=PERCENTAGE,
@ -520,7 +520,7 @@ class HomeKitBatterySensor(HomeKitSensor):
@property
def is_charging(self) -> bool:
"""Return true if currently charing."""
"""Return true if currently charging."""
# 0 = not charging
# 1 = charging
# 2 = not chargeable