.ha_mcp/logs/mcp_usage.jsonl, automations.yaml
This commit is contained in:
@@ -2172,3 +2172,4 @@
|
||||
{"timestamp": "2026-08-26T04:42:34.862320+00:00", "tool_name": "ha_search", "parameters": {"query": "office_button_current_switch_position", "domain_filter": "sensor", "area_filter": null, "search_types": null, "limit": 10, "offset": 0, "exact_match": true, "include_hidden": true, "include_config": false, "group_by_domain": false, "per_domain_limit": null, "state_filter": null, "result_fields": null, "fields": null, "config_time_budget": null, "ctx": {"_STATE_TTL_SECONDS": 86400}}, "execution_time_ms": 2262.3469829559326, "success": true, "error_message": null, "response_size_bytes": 1218, "user_context": null}
|
||||
{"timestamp": "2026-08-26T04:43:26.788320+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.ikea_bilresa_scrollwheel_light_control_v1_0_5", "python_transform": "inp = config['use_blueprint']['input']; inp['sensor_1'] = 'sensor.bedroom_switch_current_switch_position_1'; inp['sensor_2'] = 'sensor.bedroom_switch_current_switch_position_2'; inp['sensor_4'] = 'sensor.bedroom_switch_current_switch_position_4'; inp['sensor_5'] = 'sensor.bedroom_switch_current_switch_position_5'; inp['sensor_7'] = 'sensor.bedroom_switch_current_switch_position_7'; inp['sensor_8'] = 'sensor.office_scroll_wheel_current_switch_position_8'; inp['event_taste_1'] = 'event.bedroom_switch_button_3_2'; inp['event_taste_2'] = 'event.bedroom_switch_button_6_2'; inp['event_taste_3'] = 'event.bedroom_switch_button_9_2'", "config_hash": "9516f3871444706a", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 55.67312240600586, "success": false, "error_message": "{\n \"success\": false,\n \"error\": {\n \"code\": \"SERVICE_CALL_FAILED\",\n \"message\": \"Automation modified since last read (conflict)\",\n \"suggestion\": \"Call ha_config_get_automation() again\",\n \"suggestions\": [\n \"Call ha_config_get_automation() again\",\n \"Use the fresh config_hash from that response\",\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 \"action\": \"python_transform\",\n \"identifier\": \"automation.ikea_bilresa_scrollwheel_light_control_v1_0_5\"\n}", "response_size_bytes": null, "user_context": null}
|
||||
{"timestamp": "2026-08-26T04:43:31.150771+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.ikea_bilresa_scrollwheel_light_control_v1_0_5"}, "execution_time_ms": 90.00134468078613, "success": true, "error_message": null, "response_size_bytes": 1009, "user_context": null}
|
||||
{"timestamp": "2026-08-26T04:43:41.582935+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.ikea_bilresa_scrollwheel_light_control_v1_0_5", "python_transform": "inp = config['use_blueprint']['input']; inp['sensor_1'] = 'sensor.bedroom_switch_current_switch_position_1'; inp['sensor_2'] = 'sensor.bedroom_switch_current_switch_position_2'; inp['sensor_4'] = 'sensor.bedroom_switch_current_switch_position_4'; inp['sensor_5'] = 'sensor.bedroom_switch_current_switch_position_5'; inp['sensor_7'] = 'sensor.bedroom_switch_current_switch_position_7'; inp['sensor_8'] = 'sensor.office_scroll_wheel_current_switch_position_8'", "config_hash": "921bde29bb30a8d8", "category": null, "wait": true, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 491.3640022277832, "success": true, "error_message": null, "response_size_bytes": 60226, "user_context": null}
|
||||
|
||||
+6
-6
@@ -1893,12 +1893,12 @@
|
||||
path: stone13/ikea_bilresa_atomic_v1.yaml
|
||||
input:
|
||||
light_entity: light.bedroom_lights
|
||||
sensor_1: sensor.bedroom_switch_current_switch_position_1_2
|
||||
sensor_2: sensor.bedroom_switch_current_switch_position_2_2
|
||||
sensor_4: sensor.bedroom_switch_current_switch_position_4_2
|
||||
sensor_5: sensor.bedroom_switch_current_switch_position_5_2
|
||||
sensor_7: sensor.bedroom_switch_current_switch_position_7_2
|
||||
sensor_8: sensor.office_scroll_wheel_current_switch_position_8_2
|
||||
sensor_1: sensor.bedroom_switch_current_switch_position_1
|
||||
sensor_2: sensor.bedroom_switch_current_switch_position_2
|
||||
sensor_4: sensor.bedroom_switch_current_switch_position_4
|
||||
sensor_5: sensor.bedroom_switch_current_switch_position_5
|
||||
sensor_7: sensor.bedroom_switch_current_switch_position_7
|
||||
sensor_8: sensor.office_scroll_wheel_current_switch_position_8
|
||||
event_taste_1: event.bedroom_switch_button_3_2
|
||||
event_taste_2: event.bedroom_switch_button_6_2
|
||||
event_taste_3: event.bedroom_switch_button_9_2
|
||||
|
||||
Reference in New Issue
Block a user