.ha_mcp/logs/mcp_usage.jsonl
This commit is contained in:
@@ -1078,3 +1078,4 @@
|
||||
{"timestamp": "2026-08-10T04:47:59.957291+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "for section in config['views'][0]['sections']:\n for card in section.get('cards', []):\n if card.get('name') == 'Elapsed':\n card['primary'] = \"{% set s = states('sensor.octoprint_elapsed') | float(0) %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Elapsed: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}\"\n if card.get('name') == 'Remaining':\n card['primary'] = \"{% set s = states('sensor.octoprint_time_left') | float(0) %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Remaining: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}\"", "config_hash": "c2f5e8cafc055d2c", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": false, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 7.243633270263672, "success": true, "error_message": null, "response_size_bytes": 1254, "user_context": null}
|
||||
{"timestamp": "2026-08-10T04:48:05.138071+00:00", "tool_name": "ha_eval_template", "parameters": {"template": "{% set s = states('sensor.octoprint_elapsed') | float(0) %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Elapsed: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %} | {% set s = states('sensor.octoprint_time_left') | float(0) %}{% set h = (s / 3600) | int %}{% set m = ((s % 3600) / 60) | int %}Remaining: {% if h %}{{ h }} hr {{ m }} min{% else %}{{ m }} min{% endif %}", "timeout": 3, "report_errors": true}, "execution_time_ms": 52.23798751831055, "success": true, "error_message": null, "response_size_bytes": 540, "user_context": null}
|
||||
{"timestamp": "2026-08-10T04:51:15.849728+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": "history", "mode": null, "query": null}, "execution_time_ms": 2.6102066040039062, "success": true, "error_message": null, "response_size_bytes": 5039, "user_context": null}
|
||||
{"timestamp": "2026-08-10T04:51:29.771979+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.octoprint_filament_daily", "sensor.octoprint_filament_used_total"], "fields": null, "attribute_keys": ["last_period", "status", "unit_of_measurement"]}, "execution_time_ms": 11.287927627563477, "success": true, "error_message": null, "response_size_bytes": 1232, "user_context": null}
|
||||
|
||||
Reference in New Issue
Block a user