mirror of
https://github.com/esphome/esphome.git
synced 2025-09-26 15:12:21 +01:00
[config] Add entity schema consts with deprecation log (#8747)
This commit is contained in:
@@ -81,6 +81,11 @@ def update_schema(
|
||||
return _UPDATE_SCHEMA.extend(schema)
|
||||
|
||||
|
||||
# Remove before 2025.11.0
|
||||
UPDATE_SCHEMA = update_schema()
|
||||
UPDATE_SCHEMA.add_extra(cv.deprecated_schema_constant("update"))
|
||||
|
||||
|
||||
async def setup_update_core_(var, config):
|
||||
await setup_entity(var, config)
|
||||
|
||||
|
Reference in New Issue
Block a user