Add icon translations to Starline (#112241)

This commit is contained in:
Joost Lekkerkerker 2024-03-06 12:36:44 +01:00 committed by GitHub
parent e53dcea007
commit b07e9df308
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 86 additions and 67 deletions

View file

@ -19,7 +19,6 @@ BINARY_SENSOR_TYPES: tuple[BinarySensorEntityDescription, ...] = (
BinarySensorEntityDescription(
key="hbrake",
translation_key="hand_brake",
icon="mdi:car-brake-parking",
),
BinarySensorEntityDescription(
key="hood",
@ -45,19 +44,16 @@ BINARY_SENSOR_TYPES: tuple[BinarySensorEntityDescription, ...] = (
key="hfree",
translation_key="handsfree",
entity_category=EntityCategory.DIAGNOSTIC,
icon="mdi:hand-back-right",
),
BinarySensorEntityDescription(
key="neutral",
translation_key="neutral",
entity_category=EntityCategory.DIAGNOSTIC,
icon="mdi:car-shift-pattern",
),
BinarySensorEntityDescription(
key="arm_moving_pb",
translation_key="moving_ban",
entity_category=EntityCategory.DIAGNOSTIC,
icon="mdi:car-off",
),
)