diff --git a/.ha_mcp/logs/mcp_usage.jsonl b/.ha_mcp/logs/mcp_usage.jsonl index 95084dd..5689a47 100644 --- a/.ha_mcp/logs/mcp_usage.jsonl +++ b/.ha_mcp/logs/mcp_usage.jsonl @@ -559,3 +559,4 @@ {"timestamp": "2026-08-07T02:09:16.079455+00:00", "tool_name": "ha_config_set_helper", "parameters": {"helper_type": "input_boolean", "name": "3D Printer Running", "helper_id": null, "entry_id": null, "subentry_type": null, "subentry_id": null, "show_advanced_options": false, "icon": "mdi:printer-3d", "area_id": null, "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": false, "BestPracticeKey": null}, "execution_time_ms": 67.46530532836914, "success": true, "error_message": null, "response_size_bytes": 281, "user_context": null} {"timestamp": "2026-08-07T02:09:21.524480+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": {"alias": "3D Printer Running - Playroom Light & Basement Heat", "description": "When the 3D printer running helper turns on (print started), turn on the playroom light and bedroom lamp and set the basement to 22 degrees C. When it turns off (print ended), turn off only the playroom light.", "triggers": [{"trigger": "state", "entity_id": "input_boolean.3d_printer_running", "to": "on", "id": "printer_started"}, {"trigger": "state", "entity_id": "input_boolean.3d_printer_running", "to": "off", "id": "printer_stopped"}], "actions": [{"choose": [{"conditions": ["[REDACTED]"], "sequence": ["[REDACTED]", "[REDACTED]", "[REDACTED]"]}, {"conditions": ["[REDACTED]"], "sequence": ["[REDACTED]"]}]}], "mode": "single"}, "identifier": null, "python_transform": null, "config_hash": null, "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 410.34889221191406, "success": true, "error_message": null, "response_size_bytes": 241, "user_context": null} {"timestamp": "2026-08-07T02:09:26.664390+00:00", "tool_name": "ha_config_get_automation", "parameters": {"identifier": "automation.3d_print_started_playroom_light_basement_heat"}, "execution_time_ms": 60.18710136413574, "success": true, "error_message": null, "response_size_bytes": 766, "user_context": null} +{"timestamp": "2026-08-07T02:09:30.464749+00:00", "tool_name": "ha_config_set_automation", "parameters": {"config": null, "identifier": "automation.3d_print_started_playroom_light_basement_heat", "python_transform": "config['initial_state'] = False", "config_hash": "80e2845835e3d053", "category": null, "wait": true, "MandatoryBPS": false, "BestPracticeKey": null}, "execution_time_ms": 282.731294631958, "success": true, "error_message": null, "response_size_bytes": 415, "user_context": null} diff --git a/automations.yaml b/automations.yaml index 46881b3..4af32fd 100644 --- a/automations.yaml +++ b/automations.yaml @@ -3205,6 +3205,7 @@ temperature: 22 hvac_mode: heat mode: single + initial_state: false - id: '1786068561172' alias: 3D Printer Running - Playroom Light & Basement Heat description: When the 3D printer running helper turns on (print started), turn on