.ha_mcp/logs/mcp_usage.jsonl

This commit is contained in:
Home Assistant Version Control
2026-08-26 16:02:14 +00:00
parent d55dda8888
commit 0df48f7593
+1
View File
@@ -2672,3 +2672,4 @@
{"timestamp": "2026-08-26T16:01:20.628142+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.office_test_meeting_status_light", "python_transform": "for action in config['actions']:\n for choice in action.get('choose', []):\n for seq in choice.get('sequence', []):\n target = seq.get('target', {})\n if target.get('entity_id') == 'light.night_light_2':\n target['entity_id'] = 'light.night_light'", "config_hash": "2334ecf0aa63dd1e", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 308.1028461456299, "success": true, "error_message": null, "response_size_bytes": 652, "user_context": null}
{"timestamp": "2026-08-26T16:01:31.608385+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.office_manual_meeting_status_busy_light_working_hours", "python_transform": "for trigger in config['triggers']:\n eid = trigger.get('entity_id', '')\n if eid == 'binary_sensor.night_light_occupancy_2':\n trigger['entity_id'] = 'binary_sensor.night_light_occupancy'\nvariables = config.get('variables', {})\nfor key, val in variables.items():\n if isinstance(val, str) and 'sensor.night_light_illuminance_2' in val:\n variables[key] = val.replace('sensor.night_light_illuminance_2', 'sensor.night_light_illuminance')\nfor action in config['actions']:\n for choice in action.get('choose', []):\n for seq in choice.get('sequence', []):\n target = seq.get('target', {})\n if target.get('entity_id') == 'light.night_light_2':\n target['entity_id'] = 'light.night_light'\n for inner_choice in seq.get('choose', []):\n for inner_seq in inner_choice.get('sequence', []):\n inner_target = inner_seq.get('target', {})\n if inner_target.get('entity_id') == 'light.night_light_2':\n inner_target['entity_id'] = 'light.night_light'\n target = action.get('target', {})\n if target.get('entity_id') == 'light.night_light_2':\n target['entity_id'] = 'light.night_light'", "config_hash": "bd0e518f394a758a", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 351.78303718566895, "success": true, "error_message": null, "response_size_bytes": 7848, "user_context": null}
{"timestamp": "2026-08-26T16:01:58.846809+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": null, "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": "search", "query": "night_light_2"}, "execution_time_ms": 20.642995834350586, "success": true, "error_message": null, "response_size_bytes": 2826, "user_context": null}
{"timestamp": "2026-08-26T16:02:08.869724+00:00", "tool_name": "ha_config_get_dashboard", "parameters": {"url_path": null, "list_only": false, "force_reload": false, "entity_id": null, "card_type": null, "heading": null, "include_config": false, "include_screenshot": false, "view_path": null, "mode": "search", "query": "night_light_illuminance_2"}, "execution_time_ms": 49.32761192321777, "success": true, "error_message": null, "response_size_bytes": 780, "user_context": null}