Remove unnecessary schema extension on template button (#3753)

This commit is contained in:
Jesse Hills 2022-08-31 11:45:06 +12:00 committed by GitHub
parent 3120a0ba83
commit bd6bc283b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,7 +9,7 @@ CONFIG_SCHEMA = button.BUTTON_SCHEMA.extend(
{
cv.GenerateID(): cv.declare_id(TemplateButton),
}
).extend(cv.COMPONENT_SCHEMA)
)
async def to_code(config):