From e4439cb1766f3e7980a919da3a410500ab9a05e1 Mon Sep 17 00:00:00 2001 From: hoellen Date: Wed, 13 Jan 2021 15:05:09 +0100 Subject: [PATCH] Add script class to toggle list --- __init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index a4d023d..02362ed 100644 --- a/__init__.py +++ b/__init__.py @@ -34,7 +34,7 @@ icon_files = { "switch": "icons/switch.png", } -toggle_types = ["light", "switch", "automation", "group", "input_boolean", "climate", "camera"] +toggle_types = ["light", "switch", "automation", "group", "script", "input_boolean", "climate", "camera"] on_off_types = ["scene", "media_player"] # use turn_{on,off} instead of toggle