Core/API: namespaced icon keys (lucide/fa/emoji) with legacy back-compat (#241)

This commit was merged in pull request #241.
This commit is contained in:
2026-09-26 07:42:18 -04:00
parent fb9907ae7f
commit 60d1594136
12 changed files with 554 additions and 35 deletions
+2 -1
View File
@@ -336,6 +336,7 @@ from api.nestquest_core import (
core_dao_children,
core_dao_rules,
core_history,
core_icons,
core_materialize,
core_presence_management,
core_quest_definitions,
@@ -1205,7 +1206,7 @@ def _quest_definition_response(
id=bundle.definition.id,
title=bundle.definition.title,
description=bundle.definition.description,
icon=bundle.definition.icon,
icon=core_icons.normalize_icon_for_read(bundle.definition.icon),
is_active=bundle.definition.is_active,
skip_on_away=bundle.definition.skip_on_away,
rule=_rule_response(bundle.rule),