Reject MQTT cover discovery using unsupported tilt_invert_state (#62680)

pull/61423/head
Erik Montnemery 2021-12-23 17:05:52 +01:00 committed by GitHub
parent 08c66f4983
commit c1ada1754f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -193,6 +193,7 @@ PLATFORM_SCHEMA = vol.All(
)
DISCOVERY_SCHEMA = vol.All(
cv.removed("tilt_invert_state"),
_PLATFORM_SCHEMA_BASE.extend({}, extra=vol.REMOVE_EXTRA),
validate_options,
)