.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-08-24 21:27:26 +00:00
parent 218053b246
commit aeed238dd9
+2
View File
@@ -1935,3 +1935,5 @@
{"timestamp": "2026-08-24T20:46:05.054747+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.octoprint_filament_weight_daily", "sensor.octoprint_filament_weight_weekly", "sensor.octoprint_filament_weight_monthly", "sensor.octoprint_filament_daily", "sensor.octoprint_filament_weekly"], "fields": ["entity_id", "state", "last_updated"], "attribute_keys": null}, "execution_time_ms": 42.592763900756836, "success": true, "error_message": null, "response_size_bytes": 1223, "user_context": null} {"timestamp": "2026-08-24T20:46:05.054747+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.octoprint_filament_weight_daily", "sensor.octoprint_filament_weight_weekly", "sensor.octoprint_filament_weight_monthly", "sensor.octoprint_filament_daily", "sensor.octoprint_filament_weekly"], "fields": ["entity_id", "state", "last_updated"], "attribute_keys": null}, "execution_time_ms": 42.592763900756836, "success": true, "error_message": null, "response_size_bytes": 1223, "user_context": null}
{"timestamp": "2026-08-24T21:24:23.844548+00:00", "tool_name": "ha_search", "parameters": {"query": "last print", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 15, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 423.19536209106445, "success": true, "error_message": null, "response_size_bytes": 951, "user_context": null} {"timestamp": "2026-08-24T21:24:23.844548+00:00", "tool_name": "ha_search", "parameters": {"query": "last print", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 15, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 423.19536209106445, "success": true, "error_message": null, "response_size_bytes": 951, "user_context": null}
{"timestamp": "2026-08-24T21:25:44.344894+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "template", "name": "OctoPrint Last Print Filament Weight", "helper_id": null, "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": null, "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "category": null, "config": {"icon": "mdi:history", "next_step_id": "sensor", "state": "{% set w = ((state_attr('sensor.octoprint_recent_prints', 'allPrintJobs') or []) | map(attribute='filamentModels.total.usedWeight') | reject('none') | list) %}{{ (w | first | float(0)) | round(1) if w else none }}", "unique_id": "octoprint_last_print_filament_weight", "unit_of_measurement": "g"}, "wait": true, "action": null, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 353.12414169311523, "success": true, "error_message": null, "response_size_bytes": 496, "user_context": null} {"timestamp": "2026-08-24T21:25:44.344894+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "template", "name": "OctoPrint Last Print Filament Weight", "helper_id": null, "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": null, "area_id": null, "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "category": null, "config": {"icon": "mdi:history", "next_step_id": "sensor", "state": "{% set w = ((state_attr('sensor.octoprint_recent_prints', 'allPrintJobs') or []) | map(attribute='filamentModels.total.usedWeight') | reject('none') | list) %}{{ (w | first | float(0)) | round(1) if w else none }}", "unique_id": "octoprint_last_print_filament_weight", "unit_of_measurement": "g"}, "wait": true, "action": null, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 353.12414169311523, "success": true, "error_message": null, "response_size_bytes": 496, "user_context": null}
{"timestamp": "2026-08-24T21:27:19.221451+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "sensor.octoprint_last_print_filament_weight", "fields": null, "attribute_keys": null}, "execution_time_ms": 9.345054626464844, "success": true, "error_message": null, "response_size_bytes": 770, "user_context": null}
{"timestamp": "2026-08-24T21:27:19.422828+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": "printer-stats", "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": null, "query": null}, "execution_time_ms": 6.738901138305664, "success": true, "error_message": null, "response_size_bytes": 17715, "user_context": null}