Set some Switchbot entity names to none (#90846)

This commit is contained in:
Patrick ZAJDA 2023-07-07 19:38:43 +02:00 committed by GitHub
parent f1db497efe
commit 914fc570c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 13 deletions

View file

@ -25,12 +25,12 @@ BINARY_SENSOR_TYPES: dict[str, BinarySensorEntityDescription] = {
),
"motion_detected": BinarySensorEntityDescription(
key="pir_state",
translation_key="motion",
name=None,
device_class=BinarySensorDeviceClass.MOTION,
),
"contact_open": BinarySensorEntityDescription(
key="contact_open",
translation_key="door_open",
name=None,
device_class=BinarySensorDeviceClass.DOOR,
),
"contact_timeout": BinarySensorEntityDescription(
@ -46,7 +46,7 @@ BINARY_SENSOR_TYPES: dict[str, BinarySensorEntityDescription] = {
),
"door_open": BinarySensorEntityDescription(
key="door_status",
translation_key="door_open",
name=None,
device_class=BinarySensorDeviceClass.DOOR,
),
"unclosed_alarm": BinarySensorEntityDescription(