diff --git a/homeassistant/components/binary_sensor/strings.json b/homeassistant/components/binary_sensor/strings.json index ee70420fec0..abe7efee3ed 100644 --- a/homeassistant/components/binary_sensor/strings.json +++ b/homeassistant/components/binary_sensor/strings.json @@ -300,19 +300,5 @@ "on": "[%key:common::state::open%]" } } - }, - "device_class": { - "co": "carbon monoxide", - "cold": "cold", - "gas": "gas", - "heat": "heat", - "moisture": "moisture", - "motion": "motion", - "occupancy": "occupancy", - "power": "power", - "problem": "problem", - "smoke": "smoke", - "sound": "sound", - "vibration": "vibration" } } diff --git a/script/hassfest/translations.py b/script/hassfest/translations.py index 5f233b4dec8..56609e57fd9 100644 --- a/script/hassfest/translations.py +++ b/script/hassfest/translations.py @@ -431,14 +431,6 @@ def validate_translation_file( # noqa: C901 strings_schema = gen_auth_schema(config, integration) elif integration.domain == "onboarding": strings_schema = ONBOARDING_SCHEMA - elif integration.domain == "binary_sensor": - strings_schema = gen_strings_schema(config, integration).extend( - { - vol.Optional("device_class"): cv.schema_with_slug_keys( - translation_value_validator, slug_validator=vol.Any("_", cv.slug) - ) - } - ) elif integration.domain == "homeassistant_hardware": strings_schema = gen_ha_hardware_schema(config, integration) else: