mirror of
https://github.com/home-assistant/core.git
synced 2025-11-13 04:50:17 +00:00
Add entity translations to Blink (#95138)
This commit is contained in:
committed by
GitHub
parent
07936884a3
commit
36ded01264
@@ -27,17 +27,15 @@ _LOGGER = logging.getLogger(__name__)
|
||||
BINARY_SENSORS_TYPES: tuple[BinarySensorEntityDescription, ...] = (
|
||||
BinarySensorEntityDescription(
|
||||
key=TYPE_BATTERY,
|
||||
name="Battery",
|
||||
device_class=BinarySensorDeviceClass.BATTERY,
|
||||
entity_category=EntityCategory.DIAGNOSTIC,
|
||||
),
|
||||
BinarySensorEntityDescription(
|
||||
key=TYPE_CAMERA_ARMED,
|
||||
name="Camera Armed",
|
||||
translation_key="camera_armed",
|
||||
),
|
||||
BinarySensorEntityDescription(
|
||||
key=TYPE_MOTION_DETECTED,
|
||||
name="Motion Detected",
|
||||
device_class=BinarySensorDeviceClass.MOTION,
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user