.ha_mcp/logs/mcp_usage.jsonl, automations.yaml

This commit is contained in:
Home Assistant Version Control
2026-08-05 20:41:11 +00:00
parent 932a0aafbe
commit 9fb5aa9215
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -468,3 +468,5 @@
{"timestamp": "2026-08-05T20:39:57.553109+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.office_turn_off_lights_on_exit"}, "execution_time_ms": 87.2805118560791, "success": true, "error_message": null, "response_size_bytes": 971, "user_context": null}
{"timestamp": "2026-08-05T20:40:03.511152+00:00", "tool_name": "ha_search", "parameters": {"query": "office", "domain_filter": "input_boolean", "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": 378.9992332458496, "success": true, "error_message": null, "response_size_bytes": 950, "user_context": null}
{"timestamp": "2026-08-05T20:40:52.839228+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "input_boolean", "name": "Office Keep Lights On", "helper_id": null, "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": "mdi:lightbulb-on", "area_id": "office", "labels": null, "min_value": null, "max_value": null, "step": null, "unit_of_measurement": null, "options": null, "initial": null, "mode": null, "has_date": null, "has_time": null, "restore": null, "duration": null, "monday": null, "tuesday": null, "wednesday": null, "thursday": null, "friday": null, "saturday": null, "sunday": null, "latitude": null, "longitude": null, "radius": null, "passive": null, "user_id": null, "device_trackers": null, "picture": null, "tag_id": null, "description": null, "category": null, "config": null, "wait": true, "action": null, "MandatoryBPS": true, "BestPracticeKey": null}, "execution_time_ms": 39.44993019104004, "success": true, "error_message": null, "response_size_bytes": 33626, "user_context": null}
{"timestamp": "2026-08-05T20:41:06.077668+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.office_turn_on_lights_on_motion", "python_transform": "for b in config['actions'][0]['choose']:\n if any(c.get('condition') == 'trigger' and c.get('id') == 'turn_off_logic' for c in b.get('conditions', [])):\n b['conditions'].append({'condition': 'state', 'entity_id': 'input_boolean.office_keep_lights_on', 'state': 'off'})", "config_hash": "3df046f9a0e32b99", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 1706.2489986419678, "success": true, "error_message": null, "response_size_bytes": 5658, "user_context": null}
{"timestamp": "2026-08-05T20:41:10.405056+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.office_turn_on_lights_on_motion"}, "execution_time_ms": 99.00856018066406, "success": true, "error_message": null, "response_size_bytes": 2119, "user_context": null}
+3
View File
@@ -258,6 +258,9 @@
- condition: state
entity_id: light.playroom_light
state: 'on'
- condition: state
entity_id: input_boolean.office_keep_lights_on
state: 'off'
sequence:
- action: light.turn_off
target: