.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-10-08 19:01:27 +00:00
parent b2a223c8a7
commit 099892746b
+2
View File
@@ -4072,3 +4072,5 @@
{"timestamp": "2026-10-08T18:55:21.927624+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% for slot in ['Box 1 Slot 1', 'Box 1 Slot 2', 'Box 1 Slot 3', 'Box 1 Slot 4'] %}{% set color = states('sensor.sparkx_i7_cfs_' ~ (slot | lower | replace(' ', '_')) ~ '_color') | replace('#', '') | lower %}{% set ns = namespace(id='') %}{% for e in integration_entities('spoolman') %}{% if e.endswith('_color_hex') and (states(e) | replace('#', '') | lower) == color %}{% set b = e[:-10] %}{% if (states(b) | float(0)) > 0 and ns.id == '' %}{% set ns.id = states(b ~ '_id') %}{% endif %}{% endif %}{% endfor %}{{ slot }} → #{{ color | upper }} → spool {{ ns.id or 'NONE' }} ({{ states('sensor.spoolman_spool_' ~ ns.id) if ns.id else '-' }} g left){% endfor %}", "condition": null, "variables": null, "strict": false, "timeout": 3, "report_errors": true}, "execution_time_ms": 81.24065399169922, "success": true, "error_message": null, "response_size_bytes": 1535, "user_context": null}
{"timestamp": "2026-10-08T18:59:12.353417+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.sparkx_i7_print_status", "source": "history", "start_time": "2026-10-06T20:40:00Z", "end_time": "2026-10-06T21:40:00Z", "minimal_response": true, "significant_changes_only": true, "limit": 50, "offset": null, "period": "day", "statistic_types": null, "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 712.834358215332, "success": true, "error_message": null, "response_size_bytes": 965, "user_context": null}
{"timestamp": "2026-10-08T18:59:24.649210+00:00", "tool_name": "ha_get_history", "parameters": {"entity_ids": "sensor.sparkx_i7_print_status", "source": "history", "start_time": "2026-10-06T19:00:00Z", "end_time": "2026-10-06T23:30:00Z", "minimal_response": true, "significant_changes_only": true, "limit": 50, "offset": null, "period": "day", "statistic_types": null, "order": "desc", "fields": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 2519.1810131073, "success": true, "error_message": null, "response_size_bytes": 1224, "user_context": null}
{"timestamp": "2026-10-08T19:01:20.417102+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.spoolman_spool_3", "fields": ["state", "attributes"], "attribute_keys": null}, "execution_time_ms": 8.379697799682617, "success": true, "error_message": null, "response_size_bytes": 1439, "user_context": null}
{"timestamp": "2026-10-08T19:01:20.563488+00:00", "tool_name": "ha_search", "parameters": {"query": "cfs", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 40, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": ["entity_id", "friendly_name", "state"], "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 155.05719184875488, "success": true, "error_message": null, "response_size_bytes": 2915, "user_context": null}