[config] Deprecate other *_SCHEMA constants (#8748)

This commit is contained in:
Jesse Hills
2025-05-12 14:43:38 -05:00
committed by GitHub
parent 71e88fe9b2
commit dcd786d21c
8 changed files with 52 additions and 15 deletions
+3 -1
View File
@@ -135,7 +135,9 @@ def switch_schema(
return schema
SWITCH_SCHEMA = switch_schema() # for compatibility
# Remove before 2025.11.0
SWITCH_SCHEMA = switch_schema()
SWITCH_SCHEMA.add_extra(cv.deprecated_schema_constant("switch"))
async def setup_switch_core_(var, config):