.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json

This commit is contained in:
Home Assistant Version Control
2026-08-10 04:51:22 +00:00
parent 257867ea79
commit 90a5661e65
2 changed files with 21 additions and 20 deletions
+1
View File
@@ -1077,3 +1077,4 @@
{"timestamp": "2026-08-10T04:45:35.977201+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'] = \"Elapsed: {{ (states('sensor.octoprint_elapsed') | float(0) / 3600) | round(1) }} hr\"\n if card.get('name') == 'Remaining':\n card['primary'] = \"Remaining: {{ (states('sensor.octoprint_time_left') | float(0) / 3600) | round(1) }} hr\"", "config_hash": "55ba612ba3e8917f", "title": null, "icon": null, "require_admin": null, "show_in_sidebar": null, "MandatoryBPS": true, "BestPracticeKey": null, "return_screenshot": false, "view_path": null}, "execution_time_ms": 15.523195266723633, "success": true, "error_message": null, "response_size_bytes": 30505, "user_context": null}
{"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}