diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index d3e5830..231179c 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -568,3 +568,5 @@ {"timestamp": "2026-08-07T02:10:43.222715+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["light.playroom_light", "light.bedroom_lamp", "climate.basement"], "fields": ["state"], "attribute_keys": null}, "execution_time_ms": 11.824607849121094, "success": true, "error_message": null, "response_size_bytes": 511, "user_context": null} {"timestamp": "2026-08-07T02:10:47.104276+00:00", "tool_name": "ha_call_service", "parameters": {"domain": "input_boolean", "service": "turn_off", "entity_id": "input_boolean.3d_printer_running", "data": null, "return_response": false, "wait": true, "verbose": false, "result_fields": null, "result_attribute_keys": null, "ws_command": null}, "execution_time_ms": 19.855260848999023, "success": true, "error_message": null, "response_size_bytes": 398, "user_context": null} {"timestamp": "2026-08-07T02:10:52.093121+00:00", "tool_name": "ha_get_state", "parameters": {"entity_id": ["light.playroom_light", "light.bedroom_lamp", "climate.basement"], "fields": ["state"], "attribute_keys": null}, "execution_time_ms": 14.16635513305664, "success": true, "error_message": null, "response_size_bytes": 512, "user_context": null} +{"timestamp": "2026-08-07T02:12:09.394477+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_printer_running_playroom_light_basement_heat"}, "execution_time_ms": 1158.1385135650635, "success": true, "error_message": null, "response_size_bytes": 1284, "user_context": null} +{"timestamp": "2026-08-07T02:12:13.490636+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_printer_running_playroom_light_basement_heat", "python_transform": "config['mode'] = 'restart'\nconfig['actions'][0]['choose'][1]['sequence'].insert(0, {'delay': {'minutes': 10}})", "config_hash": "ef51397cee586529", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 257.66873359680176, "success": true, "error_message": null, "response_size_bytes": 499, "user_context": null} diff --git a/automations.yaml b/automations.yaml index 4af32fd..0934a3b 100644 --- a/automations.yaml +++ b/automations.yaml @@ -3242,7 +3242,9 @@ - condition: trigger id: printer_stopped sequence: + - delay: + minutes: 10 - action: light.turn_off target: entity_id: light.playroom_light - mode: single + mode: restart