.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-08-30 02:55:26 +00:00
parent 9576ac9b27
commit 0add4161c0
+1
View File
@@ -3371,3 +3371,4 @@
{"timestamp": "2026-08-30T02:53:02.621911+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"], "fields": ["entity_id", "state", "attributes"], "attribute_keys": ["unit_of_measurement", "device_class", "state_class", "friendly_name"]}, "execution_time_ms": 10.003328323364258, "success": true, "error_message": null, "response_size_bytes": 1590, "user_context": null}
{"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}