From bd6bc283b627842590340961fd30f8aadb1c133c Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Wed, 31 Aug 2022 11:45:06 +1200 Subject: [PATCH] Remove unnecessary schema extension on template button (#3753) --- esphome/components/template/button/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esphome/components/template/button/__init__.py b/esphome/components/template/button/__init__.py index a8bf595942..2ad5e54c80 100644 --- a/esphome/components/template/button/__init__.py +++ b/esphome/components/template/button/__init__.py @@ -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):