Consistent capitalization for Synology DSM entity names (#60237)

pull/60241/head
Philip Allgaier 2021-11-23 22:06:05 +01:00 committed by GitHub
parent df5d678858
commit a5dc0e37b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -108,7 +108,7 @@ UPGRADE_BINARY_SENSORS: tuple[SynologyDSMBinarySensorEntityDescription, ...] = (
SynologyDSMBinarySensorEntityDescription(
api_key=SynoCoreUpgrade.API_KEY,
key="update_available",
name="Update available",
name="Update Available",
device_class=DEVICE_CLASS_UPDATE,
entity_category=ENTITY_CATEGORY_DIAGNOSTIC,
),
@ -118,7 +118,7 @@ SECURITY_BINARY_SENSORS: tuple[SynologyDSMBinarySensorEntityDescription, ...] =
SynologyDSMBinarySensorEntityDescription(
api_key=SynoCoreSecurity.API_KEY,
key="status",
name="Security status",
name="Security Status",
device_class=DEVICE_CLASS_SAFETY,
),
)
@ -362,7 +362,7 @@ INFORMATION_SENSORS: tuple[SynologyDSMSensorEntityDescription, ...] = (
SynologyDSMSensorEntityDescription(
api_key=SynoDSMInformation.API_KEY,
key="uptime",
name="Last boot",
name="Last Boot",
device_class=DEVICE_CLASS_TIMESTAMP,
entity_registry_enabled_default=False,
entity_category=ENTITY_CATEGORY_DIAGNOSTIC,
@ -374,7 +374,7 @@ SURVEILLANCE_SWITCH: tuple[SynologyDSMSwitchEntityDescription, ...] = (
SynologyDSMSwitchEntityDescription(
api_key=SynoSurveillanceStation.HOME_MODE_API_KEY,
key="home_mode",
name="home mode",
name="Home Mode",
icon="mdi:home-account",
entity_category=ENTITY_CATEGORY_CONFIG,
),