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

This commit is contained in:
Home Assistant Version Control
2026-08-26 17:58:14 +00:00
parent 922a92094d
commit 9266c4cd82
2 changed files with 17 additions and 15 deletions
+2
View File
@@ -2924,3 +2924,5 @@
{"timestamp": "2026-08-26T17:55:02.943157+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.office_manual_meeting_status_busy_light_working_hours"}, "execution_time_ms": 111.51552200317383, "success": true, "error_message": null, "response_size_bytes": 3801, "user_context": null}
{"timestamp": "2026-08-26T17:55:22.818112+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.office_manual_meeting_status_busy_light_working_hours", "python_transform": "config['triggers'].append({'trigger': 'homeassistant', 'event': 'start', 'id': 'ha_started'}); new_branch = {'alias': '--- HA RESTART: SET INITIAL LIGHT STATE ---', 'conditions': [{'condition': 'template', 'value_template': \"{{ trigger.id == 'ha_started' }}\"}], 'sequence': [{'choose': [{'alias': 'Work hours, not away, in meeting: Red', 'conditions': [{'condition': 'template', 'value_template': \"{{ is_work_hours and not is_away and is_state('input_boolean.in_a_meeting', 'on') }}\"}], 'sequence': [{'action': 'light.turn_on', 'target': {'entity_id': 'light.night_light'}, 'data': {'brightness_pct': 100, 'rgb_color': [255, 0, 0]}}]}, {'alias': 'Work hours, not away, not in meeting: Green', 'conditions': [{'condition': 'template', 'value_template': \"{{ is_work_hours and not is_away and is_state('input_boolean.in_a_meeting', 'off') }}\"}], 'sequence': [{'action': 'light.turn_on', 'target': {'entity_id': 'light.night_light'}, 'data': {'brightness_pct': 30, 'rgb_color': [5, 245, 45]}}]}, {'alias': 'After hours or away, motion on and dark: Warm light', 'conditions': [{'condition': 'template', 'value_template': \"{{ (not is_work_hours or is_away) and is_dark and is_state('binary_sensor.night_light_occupancy', 'on') }}\"}], 'sequence': [{'action': 'light.turn_on', 'target': {'entity_id': 'light.night_light'}, 'data': {'brightness_pct': 40, 'color_temp_kelvin': 2700}}]}, {'alias': 'After hours or away, no motion or not dark: Light off', 'conditions': [{'condition': 'template', 'value_template': \"{{ not is_work_hours or is_away }}\"}], 'sequence': [{'action': 'light.turn_off', 'target': {'entity_id': 'light.night_light'}}]}]}]}; config['actions'][1]['choose'].insert(0, new_branch)", "config_hash": "92a53d9976cc3182", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 1232.365369796753, "success": true, "error_message": null, "response_size_bytes": 62440, "user_context": null}
{"timestamp": "2026-08-26T17:55:27.697205+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.office_manual_meeting_status_busy_light_working_hours"}, "execution_time_ms": 79.4680118560791, "success": true, "error_message": null, "response_size_bytes": 5399, "user_context": null}
{"timestamp": "2026-08-26T17:58:07.380022+00:00", "tool_name": "ha_get_system_health", "parameters": {"include": "thread_network", "include_dismissed_repairs": false, "config_entry_id": null, "device_id": null, "diagnostics_fields": null, "diagnostics_truncate_at_bytes": null, "diagnostics_data_path": null, "diagnostics_data_offset": 0, "diagnostics_data_limit": null}, "execution_time_ms": 10629.915475845337, "success": true, "error_message": null, "response_size_bytes": 5020, "user_context": null}
{"timestamp": "2026-08-26T17:58:13.470637+00:00", "tool_name": "ha_manage_radio", "parameters": {"radio": "matter", "action": "diagnostics", "device_id": null, "entity_id": null, "params": null, "confirm": false}, "execution_time_ms": 0.0743865966796875, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_INVALID_PARAMETER\",\n \"message\": \"matter/diagnostics requires: device_id\",\n \"suggestion\": \"Pass device_id (in params or as device_id)\"\n },\n \"radio\": \"matter\",\n \"action\": \"diagnostics\",\n \"missing\": [\n \"device_id\"\n ]\n}", "response_size_bytes": null, "user_context": null}
+15 -15
View File
@@ -27,9 +27,9 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"power": 267.9,
"current": 2.3,
"energy": 33.11,
"power": 250,
"current": 2.15,
"energy": 33.13,
"power_factor": 0.9,
"update": {
"state": "idle",
@@ -45,10 +45,10 @@
"state": "ON",
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 119.1,
"voltage": 118.6,
"countdown_to_turn_on": 0,
"energy": 67.05,
"power_factor": 0.2,
"power_factor": 0.31,
"ac_frequency": 60,
"update": {
"state": "idle",
@@ -74,11 +74,11 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 118.6,
"voltage": 118.1,
"state": "ON",
"ac_frequency": 60,
"energy": 135.57,
"power": 99.3,
"energy": 135.58,
"power": 100.2,
"current": 0.9,
"power_factor": 0.94,
"update": {
@@ -95,11 +95,11 @@
"led_brightness": 100,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"voltage": 118.6,
"voltage": 118.4,
"energy": 64.78,
"state": "ON",
"power": 50.9,
"current": 0.75,
"power": 57.5,
"current": 0.66,
"ac_frequency": 60,
"power_factor": 0.71,
"update": {
@@ -114,12 +114,12 @@
},
"0xffffb40e060895b3": {
"state": "ON",
"voltage": 119.6,
"voltage": 119.1,
"ac_frequency": 60,
"energy": 8.94,
"current": 0.01,
"power": 0.1,
"power_factor": 0.22,
"power_factor": 0.11,
"linkquality": 91,
"update": {
"state": "idle",
@@ -136,7 +136,7 @@
"0xffffb40e0608864e": {
"led_brightness": 100,
"countdown_to_turn_off": 0,
"voltage": 120.2,
"voltage": 119.7,
"energy": 20.23,
"countdown_to_turn_on": 0,
"state": "ON",
@@ -172,7 +172,7 @@
"0xffffb40e060893d8": {
"state": "ON",
"led_brightness": 100,
"voltage": 119.6,
"voltage": 119.5,
"countdown_to_turn_off": 0,
"countdown_to_turn_on": 0,
"energy": 3.77,