Skip to content

Commit 13fbeb6

Browse files
authored
Add support for trigger and condition category icons (home-assistant#156533)
1 parent 8d55744 commit 13fbeb6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

homeassistant/components/frontend/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,9 @@ def get(self, request: web.Request) -> web.Response:
777777
@websocket_api.websocket_command(
778778
{
779779
"type": "frontend/get_icons",
780-
vol.Required("category"): vol.In({"entity", "entity_component", "services"}),
780+
vol.Required("category"): vol.In(
781+
{"entity", "entity_component", "services", "triggers", "conditions"}
782+
),
781783
vol.Optional("integration"): vol.All(cv.ensure_list, [str]),
782784
}
783785
)

0 commit comments

Comments
 (0)