1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-02 11:22:24 +01:00

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

View File

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