Clean up or correct from removed deprecation for MQTT platform (#82684)

Clean up or correct from removed deprecation
This commit is contained in:
Jan Bouwhuis 2022-11-25 16:11:22 +01:00 committed by GitHub
parent 34757fa539
commit 4335b0db25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 31 additions and 35 deletions

View file

@ -69,7 +69,7 @@ PLATFORM_SCHEMA_MODERN = MQTT_RO_SCHEMA.extend(
}
).extend(MQTT_ENTITY_COMMON_SCHEMA.schema)
# Configuring MQTT Binary sensors under the binary_sensor platform key is deprecated in HA Core 2022.6
# Configuring MQTT Binary sensors under the binary_sensor platform key was deprecated in HA Core 2022.6
# Setup for the legacy YAML format was removed in HA Core 2022.12
PLATFORM_SCHEMA = vol.All(
warn_for_legacy_schema(binary_sensor.DOMAIN),