feat: unify card runtime and event-driven web ui
This commit is contained in:
parent
0edf8c3fef
commit
4dfb7ca3cc
105 changed files with 17382 additions and 8505 deletions
17
examples/cards/instances/live-outdoor-aqi/card.json
Normal file
17
examples/cards/instances/live-outdoor-aqi/card.json
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"id": "live-outdoor-aqi",
|
||||
"kind": "text",
|
||||
"title": "Outdoor AQI",
|
||||
"question": "",
|
||||
"choices": [],
|
||||
"response_value": "",
|
||||
"slot": "live-outdoor-aqi",
|
||||
"lane": "context",
|
||||
"priority": 24,
|
||||
"state": "active",
|
||||
"template_key": "sensor-live",
|
||||
"context_summary": "",
|
||||
"chat_id": "web",
|
||||
"created_at": "2026-04-05T20:40:00-04:00",
|
||||
"updated_at": "2026-04-05T20:40:00-04:00"
|
||||
}
|
||||
17
examples/cards/instances/live-outdoor-aqi/state.json
Normal file
17
examples/cards/instances/live-outdoor-aqi/state.json
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
"title": "Outdoor AQI",
|
||||
"subtitle": "Outdoor air quality",
|
||||
"tool_name": "mcp_home_assistant_GetLiveContext",
|
||||
"match_name": "Worcester Summer St Air quality index",
|
||||
"device_class": "aqi",
|
||||
"unit": "AQI",
|
||||
"refresh_ms": 300000,
|
||||
"value_decimals": 0,
|
||||
"alert_only": true,
|
||||
"alert_score_elevated": 90,
|
||||
"alert_score_high": 99,
|
||||
"thresholds": {
|
||||
"good_max": 100,
|
||||
"elevated_max": 150
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue