Files
Ai/dashboard_data/cards/recommendations_list.py
T

4 lines
217 B
Python
Raw Normal View History

2026-03-22 01:09:09 +03:30
def build_recommendations_list(sensor_id: str, context: dict | None = None, ai_bundle: dict | None = None) -> dict:
ai_bundle = ai_bundle or {}
return {"recommendations": ai_bundle.get("recommendations", [])}