.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control committed 2026-10-10 07:04:42 +00:00
1 parent 89135ce585
commit 1fd82d4b5e
1 file changed
+1
+1
View File
@@ -4339,3 +4339,4 @@
{"timestamp": "2026-10-10T06:58:22.795466+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": 15.183687210083008, "success": true, "error_message": null, "response_size_bytes": 23642, "user_context": null}
{"timestamp": "2026-10-10T07:02:52.632073+00:00", "tool_name": "ha_config_set_dashboard", "parameters": {"url_path": "printer-stats", "config": null, "python_transform": "config['views'][2]['sections'].extend([\n {\n \"type\": \"grid\",\n \"cards\": [\n {\n \"type\": \"custom:mushroom-title-card\",\n \"title\": \"BeHappy2021 Dashboard\",\n \"subtitle\": \"{{ states('sensor.sparkx_moonraker_current_print_state') }}\",\n \"alignment\": \"center\",\n \"title_tap_action\": {\"action\": \"url\", \"url_path\": \"http://moonraker.local/\"}\n }\n ]\n },\n {\n \"type\": \"grid\",\n \"title\": \"3D Printer\",\n \"cards\": [\n {\n \"type\": \"custom:state-switch\",\n \"entity\": \"sensor.sparkx_moonraker_current_print_state\",\n \"transition\": \"flip-x\",\n \"states\": {\n \"unavailable\": {\n \"type\": \"vertical-stack\",\n \"cards\": [\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"input_text.job_filament\", \"name\": \"Filament used in last job\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"input_text.total_filament\", \"name\": \"Total Filament Used\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"input_text.total_jobs\", \"name\": \"Total Jobs\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"input_text.total_time\", \"name\": \"Total Time\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}}\n ]\n },\n \"standby\": {\n \"type\": \"custom:mushroom-template-card\",\n \"primary\": \"Printer is standing by\",\n \"layout\": \"vertical\",\n \"tap_action\": {\"action\": \"url\", \"url_path\": \"http://moonraker.local/\"},\n \"hold_action\": {\"action\": \"none\"},\n \"double_tap_action\": {\"action\": \"none\"},\n \"icon_color\": \"yellow\",\n \"icon\": \"mdi:printer-3d\"\n },\n \"printing\": {\n \"type\": \"vertical-stack\",\n \"cards\": [\n {\n \"type\": \"custom:mushroom-template-card\",\n \"secondary\": \"Current filename - {{ states('sensor.sparkx_moonraker_filename') }}\",\n \"fill_container\": True,\n \"multiline_secondary\": True,\n \"layout\": \"vertical\",\n \"tap_action\": {\"action\": \"url\", \"url_path\": \"http://moonraker.local/\"},\n \"hold_action\": {\"action\": \"none\"},\n \"double_tap_action\": {\"action\": \"none\"},\n \"icon_color\": \"green\",\n \"icon\": \"mdi:printer-3d\"\n },\n {\n \"type\": \"horizontal-stack\",\n \"cards\": [\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"sensor.sparkx_moonraker_current_print_state\", \"name\": \"Status\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"sensor.sparkx_moonraker_print_duration\", \"name\": \"Elapsed\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"sensor.sparkx_moonraker_print_eta\", \"name\": \"Completion\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}},\n {\"type\": \"custom:mushroom-entity-card\", \"entity\": \"binary_sensor.sparkx_moonraker_filament_sensor\", \"name\": \"Filament\", \"layout\": \"vertical\", \"tap_action\": {\"action\": \"none\"}, \"hold_action\": {\"action\": \"none\"}, \"double_tap_action\": {\"action\": \"none\"}}\n ]\n }\n ]\n },\n \"complete\": {\n \"type\": \"custom:mushroom-template-card\",\n \"primary\": \"Printing has finished\",\n \"layout\": \"vertical\",\n \"fill_container\": True,\n \"tap_action\": {\"action\": \"url\", \"uLine truncated
{"timestamp": "2026-10-10T07:04:18.034674+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": "test", "mode": null, "query": null}, "execution_time_ms": 23.795604705810547, "success": true, "error_message": null, "response_size_bytes": 13879, "user_context": null}
{"timestamp": "2026-10-10T07:04:35.855579+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["sensor.active_spool", "input_text.job_filament", "input_text.total_filament", "input_text.total_jobs", "input_text.total_time", "number.sparkx_moonraker_extruder_target", "number.sparkx_moonraker_bed_target", "sensor.sparkx_moonraker_current_print_state"], "fields": ["state"], "attribute_keys": null}, "execution_time_ms": 1.8167495727539062, "success": true, "error_message": null, "response_size_bytes": 825, "user_context": null}