Add input_button (#62008)

* Add input_button

* Update homeassistant/components/input_button/__init__.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Improve test coverage

* Add reload test: not affecting state

Co-authored-by: Erik Montnemery <erik@montnemery.com>
This commit is contained in:
Franck Nijhof
2021-12-20 16:18:58 +01:00
committed by GitHub
co-authored by Erik Montnemery
parent ff062bd052
commit fc6c0b1d4a
13 changed files with 576 additions and 0 deletions
+1
View File
@@ -102,6 +102,7 @@ ALLOWED_USED_COMPONENTS = {
"hassio",
"homeassistant",
"input_boolean",
"input_button",
"input_datetime",
"input_number",
"input_select",
+1
View File
@@ -64,6 +64,7 @@ NO_IOT_CLASS = [
"image_processing",
"image",
"input_boolean",
"input_button",
"input_datetime",
"input_number",
"input_select",