.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-08-30 02:55:32 +00:00
parent 0add4161c0
commit c3c8d986bf
+2
View File
@@ -3372,3 +3372,5 @@
{"timestamp": "2026-08-30T02:53:11.035812+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": 26.713132858276367, "success": true, "error_message": null, "response_size_bytes": 16872, "user_context": null}
{"timestamp": "2026-08-30T02:54:08.482723+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][0]['sections'][5]['cards'].append({'type': 'heading', 'heading': 'Cost Usage', 'icon': 'mdi:cash-multiple'});\nconfig['views'][0]['sections'][5]['cards'].append({'type': 'tile', 'entity': 'sensor.octoprint_filament_cost_last_job', 'name': 'Last Job', 'icon': 'mdi:history', 'grid_options': {'columns': 4}});\nconfig['views'][0]['sections'][5]['cards'].append({'type': 'tile', 'entity': 'sensor.octoprint_filament_cost_daily', 'name': 'Cost Today', 'icon': 'mdi:chart-donut', 'grid_options': {'columns': 4}});\nconfig['views'][0]['sections'][5]['cards'].append({'type': 'tile', 'entity': 'sensor.octoprint_filament_cost_weekly', 'name': 'Cost This Week', 'icon': 'mdi:calendar-week', 'grid_options': {'columns': 4}});\nconfig['views'][0]['sections'][5]['cards'].append({'type': 'tile', 'entity': 'sensor.octoprint_filament_cost_monthly', 'name': 'Cost This Month', 'icon': 'mdi:calendar-month', 'grid_options': {'columns': 4}});\nconfig['views'][0]['sections'][5]['cards'].append({'type': 'tile', 'entity': 'sensor.octoprint_filament_cost_total', 'name': 'Grand Total', 'icon': 'mdi:chart-pie', 'grid_options': {'columns': 4}});\nconfig['views'][1]['sections'][3]['cards'].append({'type': 'custom:apexcharts-card', 'header': {'show': True, 'title': 'Filament Usage - Cost (30 days)', 'show_states': True, 'colorize_states': True}, 'graph_span': '30d', 'apex_config': {'chart': {'type': 'bar', 'height': 300}, 'plotOptions': {'bar': {'columnWidth': '50%'}}, 'dataLabels': {'enabled': False}, 'yaxis': {'tickAmount': 4, 'labels': {'minWidth': 40}}}, 'series': [{'entity': 'sensor.octoprint_filament_cost_daily', 'name': 'Used ($)', 'color': '#26c6da', 'type': 'column', 'group_by': {'func': 'last', 'duration': '1d', 'start_with_last': True}}, {'entity': 'sensor.octoprint_filament_cost_weekly', 'name': 'Weekly ($)', 'color': '#ffca28', 'type': 'column', 'group_by': {'func': 'last', 'duration': '1d', 'start_with_last': True}}, {'entity': 'sensor.octoprint_filament_cost_total', 'name': 'Total ($)', 'color': '#ab47bc', 'type': 'line', 'curve': 'straight', 'group_by': {'func': 'last', 'duration': '1d', 'start_with_last': True}}], 'grid_options': {'columns': 'full'}, 'span': {'end': 'day'}})", "config_hash": "5fe1c5c6eb91be37", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 133.41760635375977, "success": true, "error_message": null, "response_size_bytes": 32423, "user_context": null}
{"timestamp": "2026-08-30T02:55:20.636284+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.octoprint_filament_cost_last_job", "sensor.octoprint_filament_cost_daily", "sensor.octoprint_filament_cost_weekly", "sensor.octoprint_filament_cost_monthly", "sensor.octoprint_filament_cost_total", "sensor.octoprint_filament_weight_last_job", "sensor.octoprint_filament_weight_daily", "sensor.octoprint_filament_weight_weekly", "sensor.octoprint_filament_weight_monthly", "sensor.octoprint_filament_weight_total", "input_number.filament_price_per_kg"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["unit_of_measurement", "friendly_name"]}, "execution_time_ms": 23.9565372467041, "success": true, "error_message": null, "response_size_bytes": 3384, "user_context": null}
{"timestamp": "2026-08-30T02:55:26.371193+00:00", "tool_name": "ha_search", "parameters": {"query": "octoprint filament weight", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 10, "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", "state"], "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 227.8766632080078, "success": true, "error_message": null, "response_size_bytes": 1010, "user_context": null}
{"timestamp": "2026-08-30T02:55:30.319757+00:00", "tool_name": "ha_get_integration", "parameters": {"entry_id": null, "query": null, "domain": "template", "include_options": true, "include_schema": false, "include_subentries": false, "include_subentry_schema": false, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "exact_match": true, "limit": 200, "offset": 0, "include_diagnostics": false, "include_knx_project": false, "device_id": null, "diagnostics_fields": null, "diagnostics_truncate_at_bytes": null, "diagnostics_data_path": null, "diagnostics_data_offset": 0, "diagnostics_data_limit": null}, "execution_time_ms": 57.63506889343262, "success": true, "error_message": null, "response_size_bytes": 12455, "user_context": null}