Reject MQTT cover discovery using unsupported tilt_invert_state (#62680)

This commit is contained in:
Erik Montnemery
2021-12-23 17:05:52 +01:00
committed by GitHub
parent 08c66f4983
commit c1ada1754f

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,
)