nanobot-voice-interface/examples/cards/templates/weather-live/manifest.json

24 lines
1.3 KiB
JSON
Raw Normal View History

{
"key": "weather-live",
"title": "Live Weather",
"notes": "Live weather summary card. Fill template_state with subtitle, tool_name (defaults to Home Assistant GetLiveContext), provider_prefix or exact sensor names, optional uv_name, optional condition_label, optional morning_start_hour/morning_end_hour/morning_score/default_score, and refresh_ms. Wind and pressure render when matching sensors exist in the live context payload. If a live UV reading is unavailable, the card falls back to a clearly approximate current UV estimate.",
"example_state": {
"subtitle": "Weather",
"tool_name": "mcp_home_assistant_GetLiveContext",
"forecast_tool_name": "exec",
"forecast_command": "python3 /home/kacper/nanobot/scripts/card_upcoming_conditions.py --nws-entity weather.korh --uv-entity weather.openweathermap_2 --forecast-type hourly --limit 4",
"provider_prefix": "OpenWeatherMap",
"temperature_name": "OpenWeatherMap Temperature",
"humidity_name": "OpenWeatherMap Humidity",
"uv_name": "OpenWeatherMap UV index",
"condition_label": "Weather",
"morning_start_hour": 6,
"morning_end_hour": 11,
"morning_score": 84,
"default_score": 38,
"refresh_ms": 300000
},
"created_at": "2026-03-11T04:12:48.601255+00:00",
"updated_at": "2026-03-11T19:18:04.632189+00:00"
}