.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-10-08 18:55:29 +00:00
parent f81acb1cad
commit 9d1b42d0b4
+1
View File
@@ -4069,3 +4069,4 @@
{"timestamp": "2026-10-08T18:51:13.367100+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "sparkx-i7", "config": null, "python_transform": "config['views'][3]['sections'][2]['cards'][1]['grid_options'] = {'columns': 'full'}", "config_hash": "5f4694ffd33805f5", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null, "patch": null}, "execution_time_ms": 43.58029365539551, "success": true, "error_message": null, "response_size_bytes": 912, "user_context": null}
{"timestamp": "2026-10-08T18:53:56.048359+00:00", "tool_name": "ha_search", "parameters": {"query": "spoolman_spool_3", "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": 145.88260650634766, "success": true, "error_message": null, "response_size_bytes": 2969, "user_context": null}
{"timestamp": "2026-10-08T18:54:26.600629+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["input_number.sparkx_i7_spoolman_length_checkpoint", "sensor.sparkx_i7_slot_1_color_name", "sensor.sparkx_i7_slot_2_color_name", "sensor.sparkx_i7_slot_3_color_name", "sensor.sparkx_i7_slot_4_color_name", "automation.sparkx_i7_latch_print_spool_for_spoolman", "automation.sparkx_i7_deduct_filament_in_spoolman_on_print_complete", "script.spoolman_set_spool_remaining"], "fields": ["state", "attributes"], "attribute_keys": ["friendly_name"]}, "execution_time_ms": 5.154609680175781, "success": true, "error_message": null, "response_size_bytes": 1481, "user_context": null}
{"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}