.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-08-02 17:25:56 +00:00
parent 28edec793a
commit 9145ab5e1c
+2
View File
@@ -453,3 +453,5 @@
{"timestamp": "2026-08-02T17:24:12.515351+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.basement_switch_toggles_dining_room_switch_light"}, "execution_time_ms": 102.70380973815918, "success": true, "error_message": null, "response_size_bytes": 785, "user_context": null}
{"timestamp": "2026-08-02T17:24:38.159846+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.basement_switch_toggles_dining_room_switch_light", "python_transform": "config['use_blueprint']['input']['button2_single'] = [{\"choose\": [{\"conditions\": [{\"condition\": \"template\", \"value_template\": \"{{ states('input_text.living_room_previous_brightness') == '' }}\"}], \"sequence\": [{\"action\": \"light.turn_on\", \"target\": {\"entity_id\": \"light.living_room_living_room_home_living_room\"}}, {\"action\": \"input_text.set_value\", \"target\": {\"entity_id\": \"input_text.living_room_previous_brightness\"}, \"data\": {\"value\": \"{{ state_attr('light.living_room_living_room_home_living_room', 'brightness') }}\"}}, {\"action\": \"light.turn_on\", \"target\": {\"entity_id\": \"light.living_room_living_room_home_living_room\"}, \"data\": {\"brightness_pct\": 50}}]}], \"default\": [{\"action\": \"light.turn_on\", \"target\": {\"entity_id\": \"light.living_room_living_room_home_living_room\"}, \"data\": {\"brightness\": \"{{ states('input_text.living_room_previous_brightness') | int }}\"}}, {\"action\": \"input_text.set_value\", \"target\": {\"entity_id\": \"input_text.living_room_previous_brightness\"}, \"data\": {\"value\": \"\"}}]}]", "config_hash": "29bc6cd79b023565", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 297.6069450378418, "success": true, "error_message": null, "response_size_bytes": 1407, "user_context": null}
{"timestamp": "2026-08-02T17:24:43.372952+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.basement_switch_toggles_dining_room_switch_light"}, "execution_time_ms": 48.445940017700195, "success": true, "error_message": null, "response_size_bytes": 1753, "user_context": null}
{"timestamp": "2026-08-02T17:25:49.175455+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": "automation.basement_switch_toggles_dining_room_switch_light", "fields": ["state", "attributes"], "attribute_keys": ["last_triggered", "mode"]}, "execution_time_ms": 27.869462966918945, "success": true, "error_message": null, "response_size_bytes": 455, "user_context": null}
{"timestamp": "2026-08-02T17:25:49.311140+00:00", "tool_name": "ha_get_automation_traces", "parameters": {"automation_id": "automation.basement_switch_toggles_dining_room_switch_light", "run_id": null, "limit": 10, "deduplicate": true, "detailed": false, "sections": null, "offset": 0, "order": "newest", "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 4.951953887939453, "success": true, "error_message": null, "response_size_bytes": 2190, "user_context": null}