.ha_mcp/logs/mcp_usage.jsonl, zigbee2mqtt/state.json
This commit is contained in:
@@ -433,3 +433,4 @@
|
||||
{"timestamp": "2026-08-02T17:07:08.745703+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "light", "service": "turn_on", "entity_id": "light.office_lamp", "data": {"color_temp_kelvin": 5586, "brightness": 230, "entity_id": "light.office_lamp"}, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 166.72110557556152, "success": true, "error_message": null, "response_size_bytes": 676, "user_context": null}
|
||||
{"timestamp": "2026-08-02T17:07:09.013903+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "input_text", "service": "set_value", "entity_id": "input_text.office_lamp_previous_color", "data": {"value": "", "entity_id": "input_text.office_lamp_previous_color"}, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 13.116121292114258, "success": true, "error_message": null, "response_size_bytes": 498, "user_context": null}
|
||||
{"timestamp": "2026-08-02T17:07:09.291991+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.ikea_bilresa_e2489_dual_button_matter"}, "execution_time_ms": 92.4692153930664, "success": true, "error_message": null, "response_size_bytes": 950, "user_context": null}
|
||||
{"timestamp": "2026-08-02T17:08:20.260655+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "OFFICE: IKEA BILRESA E2489 Dual Button (Matter) - In Meeting and Away Mode", "description": "Ikea BILRESA E2489 Dual Button controls in Meeting toggle, and enable Away Mode", "use_blueprint": {"path": "censay/ikea-bilresa-e2489-matter-smart-button.yaml", "input": {"target_device": "0c00a80e3106a9d7089f44c4781e0187", "button1_event": "event.office_button_button_1", "button2_event": "event.office_button_button_2", "button1_single": [{"action": "input_boolean.toggle", "metadata": {}, "target": {"entity_id": "[REDACTED]"}, "data": {}}], "button2_single": [{"action": "input_boolean.toggle", "metadata": {}, "target": {"entity_id": "[REDACTED]"}, "data": {}}], "button2_double": [{"choose": {"conditions": "[REDACTED]", "default": "[REDACTED]"}}], "button1_long_press": [], "button2_long_press": []}}}, "identifier": "automation.ikea_bilresa_e2489_dual_button_matter", "python_transform": null, "config_hash": "0c5505fbf78217ff", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 50.73690414428711, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"VALIDATION_FAILED\",\n \"message\": \"Invalid automation configuration: API error: 400 - Message malformed: Unexpected value for condition: 'None'. Expected a condition, a list of conditions or a valid template @ data['actions'][1]['choose'][5]['sequence'][0]['choose'][0]['conditions'][0]\",\n \"suggestion\": \"Check automation configuration format\",\n \"suggestions\": [\n \"Check automation configuration format\",\n \"Ensure required fields: alias, triggers, actions\",\n \"Use entity_id format: automation.morning_routine or unique_id\",\n \"Use ha_search(domain_filter='automation') to find automations\",\n \"Use ha_get_skill_guide for automation examples\",\n \"For Home Assistant best-practice guidance, call ha_get_skill_guide(skill='home-assistant-best-practices') and consult the relevant reference file before retrying.\"\n ]\n },\n \"identifier\": \"automation.ikea_bilresa_e2489_dual_button_matter\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
|
||||
+16
-16
@@ -27,8 +27,8 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"power": 44.4,
|
||||
"current": 1.84,
|
||||
"power": 3.8,
|
||||
"current": 0.13,
|
||||
"energy": 25.38,
|
||||
"power_factor": 0.25,
|
||||
"update": {
|
||||
@@ -45,10 +45,10 @@
|
||||
"state": "ON",
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"voltage": 120.5,
|
||||
"voltage": 120.4,
|
||||
"countdown_to_turn_on": 0,
|
||||
"energy": 45.82,
|
||||
"power_factor": 0.89,
|
||||
"power_factor": 0.88,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -58,8 +58,8 @@
|
||||
"latest_release_notes": null
|
||||
},
|
||||
"linkquality": 134,
|
||||
"power": 84.2,
|
||||
"current": 0.82,
|
||||
"power": 0.6,
|
||||
"current": 0.05,
|
||||
"power_on_behavior": "on"
|
||||
},
|
||||
"0xb40e060fffe031e3": {
|
||||
@@ -74,12 +74,12 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 119.6,
|
||||
"voltage": 119,
|
||||
"state": "ON",
|
||||
"ac_frequency": 60,
|
||||
"energy": 92.76,
|
||||
"power": 106.7,
|
||||
"current": 0.91,
|
||||
"energy": 92.77,
|
||||
"power": 100.2,
|
||||
"current": 0.92,
|
||||
"power_factor": 0.95,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -95,11 +95,11 @@
|
||||
"led_brightness": 100,
|
||||
"countdown_to_turn_off": 0,
|
||||
"countdown_to_turn_on": 0,
|
||||
"voltage": 120.8,
|
||||
"energy": 38.91,
|
||||
"voltage": 120.6,
|
||||
"energy": 38.92,
|
||||
"state": "ON",
|
||||
"power": 53.4,
|
||||
"current": 0.59,
|
||||
"power": 48.7,
|
||||
"current": 0.51,
|
||||
"ac_frequency": 60,
|
||||
"power_factor": 0.74,
|
||||
"update": {
|
||||
@@ -119,7 +119,7 @@
|
||||
"energy": 5.81,
|
||||
"current": 0.01,
|
||||
"power": 0.1,
|
||||
"power_factor": 0.22,
|
||||
"power_factor": 0.11,
|
||||
"linkquality": 123,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
@@ -178,7 +178,7 @@
|
||||
"energy": 3,
|
||||
"power_on_behavior": "on",
|
||||
"linkquality": 87,
|
||||
"current": 0.01,
|
||||
"current": 0.02,
|
||||
"ac_frequency": 60,
|
||||
"update": {
|
||||
"state": "idle",
|
||||
|
||||
Reference in New Issue
Block a user