Add icon translations to Homekit Controller (#111720)
* Add icon translations to Homekit Controller * Add icon translations to Homekit Controller
This commit is contained in:
parent
b6d56d38ba
commit
15cd9c011e
8 changed files with 134 additions and 124 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue